Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.x ACE
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      Create a new ace:themeSelect component which can be used to dynamically change the currently used ACE ThemeRoller theme in the application.

      This component should render itself as a selectOneMenu style drop-down list. It will always have a theme selected, aligned with the currently selected ACE theme setting in the application.

      This component would ideally discover all available ThemeRoller ACE themes on the application classpath, and populate it's list of values accordingly.

      If this cannot be achieved, then a fallback would be to allow the application to specify the theme names and corresponding package names and use reflection to find them at runtime.

       
      1. screenshot-01.png
        222 kB
      2. screenshot-02.png
        189 kB
      3. screenshot-03.png
        171 kB
      4. screenshot-04.png
        242 kB

        Activity

        Hide
        Ken Fyten added a comment -

        For styling, let's keep this rendered inside a SPAN and just not attempt to use the ThemeRoller rounded-corner styling due to negative interactions with the natively rendered drop-down button which can vary between browsers.

        Show
        Ken Fyten added a comment - For styling, let's keep this rendered inside a SPAN and just not attempt to use the ThemeRoller rounded-corner styling due to negative interactions with the natively rendered drop-down button which can vary between browsers.
        Hide
        yip.ng added a comment -

        Done.

        M: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\themeselect\ThemeSelectRenderer.java#33940

        Show
        yip.ng added a comment - Done. M: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\themeselect\ThemeSelectRenderer.java#33940
        Hide
        yip.ng added a comment -

        Introduced an ant property to flag inclusion or exclusion of theme jars in build. (Previously always included.)

        M: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\showcase\showcase\build.xml#34132
        M: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\build\common.xml#34132

        Show
        yip.ng added a comment - Introduced an ant property to flag inclusion or exclusion of theme jars in build. (Previously always included.) M: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\showcase\showcase\build.xml#34132 M: C:\svn\ossrepo\icefaces3\trunk\icefaces\samples\build\common.xml#34132
        Hide
        yip.ng added a comment - - edited

        Removed the none option from the selector, as per Ken's request. (cf. original requirement.) Note: if "none" is specified (in value attribute or (no value and set in context param.)), the default of "sam" will be used.

        M: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\themeselect\ThemeSelectRenderer.java#34341

        Show
        yip.ng added a comment - - edited Removed the none option from the selector, as per Ken's request. (cf. original requirement .) Note: if "none" is specified (in value attribute or (no value and set in context param.)), the default of "sam" will be used. M: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\themeselect\ThemeSelectRenderer.java#34341
        Hide
        yip.ng added a comment - - edited

        Theme select code drastically changed/re-arranged by Mircea: ICE-9163. See also ICE-9166.

        Show
        yip.ng added a comment - - edited Theme select code drastically changed/re-arranged by Mircea: ICE-9163 . See also ICE-9166 .

          People

          • Assignee:
            yip.ng
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: