I need a mechanism to synchronize the inner dataTable with the outer one.
anonymous wrote :
| <h:dataTable var="assort" value="#{assortments}">
| <h:column>
| <h:outputLink value="">
| <h:outputText value="#{assort.description}" />
| </h:outputLink>
| <h:dataTable var="category"
value="#{assortmentCategories}">
| <h:column>
| <h:outputLink value="">
| <h:outputText value="#{category.description}" />
| </h:outputLink>
| </h:column>
| </h:dataTable>
| </h:column>
| </h:dataTable>
|
|
The list assortmentCategories is depended from the current element in the assortments
list. I need a mechanism to update it.
Assortment Session Bean code part
anonymous wrote :
|
| @DataModel
| private List assortments;
|
| ....
|
| @Factory("assortments")
| public void findAssortments() {
|
| .....
| }
|
|
AssortmentCategory Session Bean code part
anonymous wrote :
|
| @DataModel
| private List assortmentCategories;
|
| ....
|
| @Factory("assortmentCategories")
| public void findCategories() {
|
| ....
| }
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964199#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...