Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-898

CSS class naming: Replace "aspect" with "markup"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0-alpha-2, 1.5.0
    • None
    • None

    Description

      To get more logical and more strict naming conventions for CSS classes, rename all existing aspects to markups.
      E. g. tobago-in-required -> tobago-in-markup-required
      Advantage: The "aspects" can be defined in the theme-config per renderer. So we can define, if an renderer supports e. g. the required feature.
      For migrating a theme from Tobago 1.0 to Tobago 1.5 all matching classes must be renamed like this:

      tobago-<rendererName><aspect> -> tobago<rendererName>markup<aspect>

      For all aspects: inline, required, error, disabled, readonly.
      For the aspect "default" see TOBAGO-880.

      Also some other CSS class names will be renamed and using "markup" e. g.
      tobago-sheet-row-odd -> tobago-sheet-row-markup-odd, because the idea of "odd" is a property of markup, and not a subcomponent.

      Attachments

        Issue Links

          Activity

            People

              lofwyr Udo Schnurpfeil
              lofwyr Udo Schnurpfeil
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: