This content has been marked as final.
Show 2 replies
-
1. Re: End Conversation OR Nest Conversation
hbender Jun 7, 2010 4:21 AM (in response to shravanou)I had a similar problem. The @DataModelSelection contained always the first entry of the @DataModel list, regardless which item was clicked in the view table.
The culprit was that I accessed the @DataModel list in the view through a getter of the backing bean. Accessing it directly by the @DataModel name worked.
seam component ("MySeamComponent"):
@DataModel
List<?> myList;
public List<?> getList() ...
Wrong:
<rich:dataTable value="#{MySeamComponent.list}"
Correct:
<rich:dataTable value="#{myList}"
I do not know about the magic behind these two constructs, but I struggled several hours to solve this problem.
Heri
-
2. Re: End Conversation OR Nest Conversation
shravanou Jun 7, 2010 12:21 PM (in response to shravanou)That is true - I solved the issue by putting limited number of required
<ice:dataTable>
in the .xhtml