[richfaces-issues] [JBoss JIRA] Updated: (RF-3786) subTable in dataTable adds additional <th>

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Wed Dec 10 14:40:37 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-3786:
-------------------------------

    Fix Version/s: 3.3.0


> subTable in dataTable adds additional <th>
> ------------------------------------------
>
>                 Key: RF-3786
>                 URL: https://jira.jboss.org/jira/browse/RF-3786
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0.SR1, 3.2.1
>         Environment: RF-3.2.[01], JSF-RI implementation
>            Reporter: Andreas Heiduk
>            Assignee: Anton Belevich
>             Fix For: 3.3.0
>
>
> 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

        



More information about the richfaces-issues mailing list