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

        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.
        Hide
        Arturo Zambrano added a comment -

        Fixed at revision 26810.

        Show
        Arturo Zambrano added a comment - Fixed at revision 26810.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: