ICEfaces
  1. ICEfaces
  2. ICE-5932

Build single rime theme CSS file for sparkle

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      sparkle

      Description

      Every sparkle component may have a structural CSS file that they need to link to, via a @ResourceDependency annotation, to function properly. In addition, they may have a rime theme CSS file, which should be separate from the structural one. The directories should be setup so that all of the rime theme CSS files, once they've been processed by smart sprites and the cssurlmapper tool, can be amalgamated into a single rime.css file. Sparkle components would NOT link to the rime CSS file themselves, but applications would use an h:outputStylesheet component, at the bottom of their .xhtml pages, to link in the rime.css file. They would also need to add a styleClass somewhere in the body, to mention the rime theme, so that it will be used.

      Tasks:
      1. The directory locations for structural and rime theme CSS files should be specified
      2. Component developers should separate their CSS files appropriately. They may temporarily use @ResourceDependency annotations for both types of CSS files
      3. The build process should add the amalgamation of the rime theme CSS files into one rime.css file
      4. The sparkle showcase and any QA test applications should be updated to use the h:outputStylesheet and ensure they use the rim styleClass within their body
      5. The components should be changed to no longer use a @ResourceDependency for their rime snippet

        Activity

        Hide
        Arturo Zambrano added a comment -
        Show
        Arturo Zambrano added a comment - taks completed... documented in http://wiki.icefaces.org/display/facesDev/General+Skinning+Approach

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: