[
http://jira.jboss.com/jira/browse/RF-2454?page=all ]
Ilya Shaikovsky updated RF-2454:
--------------------------------
Summary: DataTable Sorting Feature: Implement Icons to sortable column (was:
DataTable Sorting Feature: No icons present by default)
Issue Type: Task (was: Bug)
Description:
Three attribute should be present
sortIcon
sortIconAscending
sortIconDescending
defaults should be icons from Alex.
It should be possible to define URIs to user icons in attributes.
was:
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form>
<rich:dataTable value="#{capitalsBean.capitals}" var="cap"
width="500px">
<f:facet name="header">
<h:outputText value="Sorting Example"/>
</f:facet>
<rich:column>
<f:facet name="header">
<h:graphicImage
value="/images/ico_DataTable.gif"></h:graphicImage>
</f:facet>
<h:graphicImage value="#{cap.stateFlag}"/>
</rich:column>
<rich:column sortBy="#{cap.state}">
<f:facet name="header">
<h:outputText value="State Name"></h:outputText>
</f:facet>
<h:outputText value="#{cap.state}"></h:outputText>
</rich:column>
<rich:column sortBy="#{cap.name}">
<f:facet name="header">
<h:outputText value="State Capital"></h:outputText>
</f:facet>
<h:outputText value="#{cap.name}"/>
</rich:column>
</rich:dataTable>
</h:form>
</ui:composition>
Sorting works but no icons present.
DataTable Sorting Feature: Implement Icons to sortable column
-------------------------------------------------------------
Key: RF-2454
URL:
http://jira.jboss.com/jira/browse/RF-2454
Project: RichFaces
Issue Type: Task
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Sergey Halipov
Fix For: 3.2.0
Three attribute should be present
sortIcon
sortIconAscending
sortIconDescending
defaults should be icons from Alex.
It should be possible to define URIs to user icons in attributes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira