[richfaces-issues] [JBoss JIRA] Created: (RF-4731) Sorting: (rich:dataTable + rich:cloumn + rich:columns) => Sorting is not displayed if header facet has not been defined

Tsikhon Kuprevich (JIRA) jira-events at lists.jboss.org
Mon Oct 27 09:41:22 EDT 2008


Sorting: (rich:dataTable + rich:cloumn + rich:columns) => Sorting is not displayed if header facet has not been defined
-----------------------------------------------------------------------------------------------------------------------

                 Key: RF-4731
                 URL: https://jira.jboss.org/jira/browse/RF-4731
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.2
            Reporter: Tsikhon Kuprevich
            Assignee: Nick Belaevski


When using together rich:dataTable + rich:cloumn + rich:columns. In case if 'sortBy' is defined but there are no header facets for rich:column and rich:columns — sorting indicators are not displayed. 

See example below:

	<rich:dataTable id="richColumnsID" value="#{columns.data1}" var="d1"
		rendered="#{columns.dataTableRendered}">
		<h:column>

			<h:outputText value="h: #{d1.int0}"></h:outputText>
		</h:column>

		<rich:column>
			<h:outputText value="rich: #{d1.int0}"></h:outputText>
		</rich:column>


		<rich:columns value="#{columns.data2}" var="d2"
			breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
			columns="#{columns.columns}" index="index"
			rowspan="#{columns.rowspan}" begin="#{columns.begin}"
			end="#{columns.end}" width="#{columns.width}" 
			sortOrder="#{columns.orderings[index]}" sortBy="#{d1.str0}">
			<h:outputText value="#{index}. "></h:outputText>
			<h:outputText value="#{d1.str0}, "></h:outputText>
			<h:outputText value="#{d2.str0}"></h:outputText>
			<h:outputLink value="http://www.jboss.com/">
				<f:verbatim>Link</f:verbatim>
			</h:outputLink>
		</rich:columns>
	</rich:dataTable>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the richfaces-issues mailing list