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

        Mark Collette created issue -
        Mark Collette made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 2.0-Beta2 [ 10242 ]
        Assignee Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Assignee Priority P1
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22047 Wed Jul 28 00:28:45 MDT 2010 art.zambrano ICE-5932 added code to produce concatenated CSS files per skin
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/build.xml
        Commit graph ADD /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.skins
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/build.properties
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22057 Fri Jul 30 00:55:53 MDT 2010 art.zambrano ICE-5932 removed rime @ResourceDependency and added outputStylesheet with rime in showcase
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/sparkle/component/src/org/icefaces/component/selectinputdate/SelectInputDate.java
        Commit graph MODIFY /icefaces/scratchpads/sparkle/showcase/test/web/calendarTable.xhtml
        Commit graph MODIFY /icefaces/scratchpads/sparkle/showcase/test/web/calendar.xhtml
        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
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1

          People

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

            Dates

            • Created:
              Updated:
              Resolved: