You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Chris Barlow (JIRA)" <my...@incubator.apache.org> on 2005/04/14 21:36:25 UTC

[jira] Created: (MYFACES-191) Add directional images to x:commandSortHeader

Add directional images to x:commandSortHeader
---------------------------------------------

         Key: MYFACES-191
         URL: http://issues.apache.org/jira/browse/MYFACES-191
     Project: MyFaces
        Type: New Feature
    Versions: 1.0.9 beta    
    Reporter: Chris Barlow
    Priority: Trivial


It would be nice to have the ability to specify ascending and descending images as an alternative to the character generated indicators.  It might work something like this:

    <x:commandSortHeader columnName="#{columnHeader}" arrow="false">
        <f:facet name="ascending">
            <h:graphicImage value="images/ascending-arrow.png" border="0"/>
        </f:facet>                    
        <f:facet name="descending">
            <h:graphicImage value="images/descending-arrow.png" border="0"/>
        </f:facet>                                        
        <h:outputText value="#{columnHeader}" />
    </x:commandSortHeader>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira