[
https://jira.jboss.org/jira/browse/RF-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Shaikovsky resolved RF-3786.
---------------------------------
Resolution: Rejected
Assignee: Tsikhon Kuprevich (was: Anton Belevich)
works as designed. subtable encodes table structure without table declaration
and its headers and footers moved to main table corresonding elements. Just
build your header carefully yourself using main table header as it shown at
demo.
> subTable in dataTable adds additional <th>
> ------------------------------------------
>
> Key: RF-3786
> URL: https://jira.jboss.org/jira/browse/RF-3786
> Project: RichFaces
> Issue Type: Bug
> Components: planning_all
> Affects Versions: 3.2.0.SR1, 3.2.1
> Environment: RF-3.2.[01], JSF-RI implementation
> Reporter: Andreas Heiduk
> Assignee: Tsikhon Kuprevich
> Fix For: 3.3.0
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> As soon as a dataTable contains both subTable and a column "header" facet an
> additional <th> element is rendered.
> Example:
> <rich:dataTable value="#{capitalsBean.capitals}" var="capital">
> <rich:column>
> <f:facet name="header">Capital Name</f:facet>
> <h:outputText value="#{capital.name}" />
> </rich:column>
> <rich:column>
> <f:facet name="header">Property Name</f:facet>
> </rich:column>
> <rich:column>
> <f:facet name="header">Property Value</f:facet>
> </rich:column>
> <rich:subTable value="#{capital.detailList}" var="detail">
> <rich:column />
> <rich:column>
> <h:outputText value="#{detail.key}" />
> </rich:column>
> <rich:column>
> <h:outputText value="#{detail.value}" />
> </rich:column>
> </rich:subTable>
> </rich:dataTable>
> Now <thead> contains *four* <th> elements instead of three. The last <th>
> element looks like this:
> <th class="dr-table-subheadercell rich-table-subheadercell"
> scope="col"/>
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues