]
Jay Balunas updated RF-4731:
----------------------------
Issue Type: Bug (was: Feature Request)
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
Components: component-tables
Affects Versions: 3.2.2
Reporter: Tsikhon Kuprevich
Assignee: Nick Belaevski
Fix For: 3.3.2.CR1
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: