ICEfaces
  1. ICEfaces
  2. ICE-10429

New ace:theme component - Adds ability to set 'org.icefaces.ace.theme' at a page level

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02, 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: ICECORE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      Feature Request: Add the ability to set the org.icefaces.ace.theme context param at a page level via an icecore component tag.

      The reason for this is that even with no ICEfaces components used on the page, it will still load the Theme CSS in the head. This can be turned off by setting the context param but this is applied to all pages.

        Activity

        Hide
        Mircea Toma added a comment - - edited

        Introduced ace:config component that can be used to configure the look&feel theme at page level. Also modified ThemeSymbolicResourceHandler to read the selected theme from the view map in case the theme is set per page.

        Usage:

        <html>
        ...
        <ace:config theme="cupertino"/>
        ...
        </h:body>
        </html>
        
        Show
        Mircea Toma added a comment - - edited Introduced ace:config component that can be used to configure the look&feel theme at page level. Also modified ThemeSymbolicResourceHandler to read the selected theme from the view map in case the theme is set per page. Usage: <html> ... <ace:config theme= "cupertino" /> ... </h:body> </html>
        Hide
        Liana Munroe added a comment -

        New test application added to
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/ACEconfig. Three separate themed pages are loaded using the ace:config tag.

        Show
        Liana Munroe added a comment - New test application added to http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/ACEconfig . Three separate themed pages are loaded using the ace:config tag.
        Hide
        Ken Fyten added a comment -

        Let's rename this new component ace:theme and the value=xxx can hold the theme to be loaded.

        Show
        Ken Fyten added a comment - Let's rename this new component ace:theme and the value=xxx can hold the theme to be loaded.
        Hide
        Mircea Toma added a comment -

        Renamed ace:config component to ace:theme.

        Show
        Mircea Toma added a comment - Renamed ace:config component to ace:theme .
        Hide
        Carmen Cristurean added a comment - - edited

        Renamed ACEConfig QA test application to "theme", updated to use ace:theme component.
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/theme

        Verified with IF4 trunk rev. 43997 in Chrome39, IE11, FF34.

        Show
        Carmen Cristurean added a comment - - edited Renamed ACEConfig QA test application to "theme", updated to use ace:theme component. http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/theme Verified with IF4 trunk rev. 43997 in Chrome39, IE11, FF34.
        Hide
        Mircea Toma added a comment -

        Updated TLD documentation and added Wiki component description.

        Show
        Mircea Toma added a comment - Updated TLD documentation and added Wiki component description.
        Hide
        Mircea Toma added a comment -

        Moved component's page to the correct alphabetical ordered location.

        Show
        Mircea Toma added a comment - Moved component's page to the correct alphabetical ordered location.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: