ICEfaces
  1. ICEfaces
  2. ICE-2133

Allow customizing commandSortHeader arrow style

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      n/a

      Description

      should allow developer to customize the commandSortHeader arrow via an image specified in the theme styling and also customizable via a custom styleClass on the component.

      It's currently hard-coded as a character (↑ & ↓). This should be removed and replaced with the image/style based implementation.

        Activity

        Philip Breau created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Ken Fyten made changes -
        Summary Allow customizing commandSortHeader arrow Allow customizing commandSortHeader arrow style
        Issue Type New Feature [ 2 ] Improvement [ 4 ]
        Estimated Complexity Low
        Fix Version/s 1.7 [ 10080 ]
        Assignee Priority P2
        Affects Version/s 1.5 [ 10027 ]
        Affects Version/s 1.6.1 [ 10070 ]
        Description should allow developer to customize the commandSortHeader arrow. Either an image or a different character. It's currently hard-coded as ↑ & ↓ should allow developer to customize the commandSortHeader arrow via an image specified in the theme styling and also customizable via a custom styleClass on the component.

        It's currently hard-coded as a character (↑ & ↓). This should be removed and replaced with the image/style based implementation.

        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15922 Tue Mar 04 11:11:02 MST 2008 adnan.durrani Fix for ICE-2133 (Allow customizing commandSortHeader arrow style)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/commandsortheader/CommandSortHeader.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-sortheader-props.xml
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/css-images/arrowDesc.jpg
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp-portlet.css
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/commandsortheader/CommandSortHeaderRenderer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/css-images/arrowAsc.jpg
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/royale/css-images/arrowAsc.jpg
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/royale/royale.css
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/royale/css-images/arrowDesc.jpg
        Hide
        Adnan Durrani added a comment -

        The "arrow" attribute has been deprecated, it will not have any effect in 1.7. anymore.

        To change the appearance of the arrow images, the following style classes needs to be customized.
        -iceCmdSrtHdrAsc
        -iceCmdSrtHdrDesc

        (e.g.)
        .iceCmdSrtHdrAsc

        { background-image: url( "./css-images/arrowAsc.jpg" ); }

        .iceCmdSrtHdrDesc

        { background-image: url( "./css-images/arrowDesc.jpg" ); }

        revision 15922.

        Show
        Adnan Durrani added a comment - The "arrow" attribute has been deprecated, it will not have any effect in 1.7. anymore. To change the appearance of the arrow images, the following style classes needs to be customized. -iceCmdSrtHdrAsc -iceCmdSrtHdrDesc (e.g.) .iceCmdSrtHdrAsc { background-image: url( "./css-images/arrowAsc.jpg" ); } .iceCmdSrtHdrDesc { background-image: url( "./css-images/arrowDesc.jpg" ); } revision 15922.
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Affects [Compatibility/Configuration]
        Ken Fyten made changes -
        Fix Version/s 1.7RC1 [ 10123 ]
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: