[
http://jira.jboss.com/jira/browse/RF-3642?page=all ]
Ilya Shaikovsky resolved RF-3642.
---------------------------------
Resolution: Rejected
you may use dataTable header with complex markup, like in livedemo in order to render
complex header.
how do you think we should handle such headers in case where
1) column before group exist
2) colgroup rendered after this column.
2 will be placed below the first column. Where do you think headers should be rendered?
<rich:columnGroup/> and column headers problem
----------------------------------------------
Key: RF-3642
URL:
http://jira.jboss.com/jira/browse/RF-3642
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: RichFaces 3.2.1GA, Mojarra JSF 1.2_08-b06-FCS, Tomcat 6.0.16
Reporter: Alex Guru
<rich:columnGroup/> used to set different background to rows. If i use <f:facet
name="header" /> for columns, headers don't render. When
<rich:columnGroup/> not used all headers rendered.
Code (in this example column headers don't rendered):
<rich:dataTable value="#{myBean.tableData}" var="row"
rowKeyVar="row_key" rowClasses="row1, row2" >
<rich:columnGroup rowClasses="#{row.error == null? ' ' :
'errorRow'}" >
<rich:column style="text-align:center;">
<f:facet name="header">
<h:outputText value="#"/>
</f:facet>
<h:outputText value="#{row_key + 1}"/>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="Name"/>
</f:facet>
<h:outputText value="#{row.name}"/>
</rich:column>
</rich:columnGroup >
--
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