[jboss-user] [JBoss Seam] - Re: c:forEach and h:column
limousyf
do-not-reply at jboss.com
Fri Jul 27 05:04:14 EDT 2007
Ok, I'm upping a little this post cause this still doesn't work (arg!).
I tried a simplier solution using the [] operator in the JSF.
It looks like this :
| <h:dataTable value="#{TestCrossDataTable.boiteNoireSimple.lineDataModel}" var="lineSimple">
|
| <c:forEach items="#{TestCrossDataTable.boiteNoireSimple.columnDataModel.wrappedData}" var="columnSimple">
| <h:column>
|
| <f:facet name="header">
| <h:outputText value="#{columnSimple.columnDesignation}" />
| </f:facet>
|
|
|
| <h:inputText value="#{lineSimple.cellList[columnSimple.columnId].cellValue.jourSaisieValeur}"
| converter="javax.faces.Double">
| </h:inputText>
|
|
| </h:column>
| </c:forEach>
|
| </h:dataTable>
|
I thought it could save my life but no :/
I can iterate normally over cells, and make my dynamic columns, but I still can access ONE TIME only the cell.
And I need to access multiple times the object in the cell ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068135#4068135
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068135
More information about the jboss-user
mailing list