This content has been marked as final.
Show 3 replies
-
1. Re: rich:dataTable with two table rows for each model rows d
hanafey Feb 13, 2009 2:50 PM (in response to hanafey)A trivial explicit example:
<rich:dataTable value="#{table.data}" var="x" columns="2"> <rich:column> <f:facet name="header">Name</f:facet> <h:outputText value="#{x.name}"/> </rich:column> <rich:column> <f:facet name="header">Address</f:facet> <h:outputText value="#{x.address}"/> </rich:column> <rich:column breakBefore="true"> <h:inputText value="#{x.name}"/> </rich:column> <rich:column> <h:inputText value="#{x.address}"/> </rich:column> </rich:dataTable>
This produces a table where the thead section contains four columns, the last two of which are blank. The tbody rows correctly contain only two columns. -
2. Re: rich:dataTable with two table rows for each model rows d
nbelaevski Feb 13, 2009 8:34 PM (in response to hanafey)Hello,
The same problem as here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150228. Workaround should help. -
3. Re: rich:dataTable with two table rows for each model rows d
hanafey Feb 16, 2009 9:20 AM (in response to hanafey)Thanks Nick -- colspan=1 on all columns in this example does the trick.