ICEfaces
  1. ICEfaces
  2. ICE-7443

Create component that automatically loads the configured theme in the <head>

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC2, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      A conflict with our head renderer and other JSF libraries has been reported. In general, a renderer for the <head> element is specified in faces-config.xml with "javax.faces.Head"as the renderer type. Presumably, there can only be one such head renderer. Therefore, it is necessary to avoid this type of conflicts by implementing an alternative mechanism to load the theme configured in the web.xml file of the application. This mechanism would consist of automatically adding a UIOutput component in the head whenever an ACE component is added to the view. This UIOutput component would read the value of the "org.icefaces.ace.theme" context parameter to load the corresponding theme.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.1 [ 10241 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration]
        Assignee Priority P2
        Ken Fyten made changes -
        Fix Version/s 3.1 [ 10312 ]
        Fix Version/s 3.0 [ 10241 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.0 [ 10241 ]
        Fix Version/s 3.1 [ 10312 ]
        Assignee Priority P2 P1
        Hide
        Ken Fyten added a comment -

        Also need to have a config. param and equiv. icecore:config setting to disable this automatic Theme Roller CSS loading mechanism.

        Show
        Ken Fyten added a comment - Also need to have a config. param and equiv. icecore:config setting to disable this automatic Theme Roller CSS loading mechanism.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26809 Fri Dec 09 12:40:24 MST 2011 art.zambrano ICE-7443 added component that automatically loads the configured theme in the <head>
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/renderkit/DOMRenderKit.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/META-INCLUDE/faces-config.xml
        Commit graph ADD /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/render/SpecialResourceComponent.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26810 Fri Dec 09 13:25:37 MST 2011 art.zambrano ICE-7443 added component that automatically loads the configured theme in the <head>
        Files Changed
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeloader/ThemeLoaderRenderer.java
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeloader/ThemeLoader.java
        Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeloader
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26853 Tue Dec 13 11:53:38 MST 2011 art.zambrano ICE-7443 re-added special resource loading (e.g. themes) in BridgeSetup
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java
        Hide
        Arturo Zambrano added a comment -

        Fixed at revision 26810.

        Show
        Arturo Zambrano added a comment - Fixed at revision 26810.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.0.RC2 [ 10313 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: