Hi ,
How can we represent a matrix like structure in jsf.
It will have x number of rows and y number of columns. Both x and y are dynamic.
so it should be some thing like below .
-------------A B C D . . .
X------------ o o o o . . .
Y------------ o o o o . . .
Z------------ o o o o . . .
.------------ . . . . . . .
.------------ . . . . . . .
1) Using data table we can have columns oriented structure , i mean we can have iterate over any number of rows rendering respective data
but in this case we do not have number of column fixed rather they are dynamic .
Is there any possible solution in jsf for this
This is how we can have iterate over column
<h:column>
<h:dataTable border="1" value="#{nested}" var="item">
<h:column>
<h

utputText value="#{nested.rowIndex}" />
</h:column>
<h:column>
<h

utputText value="#{item}" />
</h:column>
</h:dataTable>
</h:column>
Thanks in advance