[jboss-user] [JBoss Seam] - DataModel sincronization issue...
angelogalvao
do-not-reply at jboss.com
Fri Aug 4 14:16:16 EDT 2006
I have 2 variables thats points to 1 Set... One from a Entity from a OneToMany relashionship e another from my SFSB whit @DataModel anotation, just beacuse i cant have @DataModel from a Entity (the data model selection dont work's)...
@DataModelSelection(value="rolesFromRoleGroup")
| private Role role;
|
| @DataModel
| private Set<Role> rolesFromRoleGroup;
|
| @Factory("rolesFromRoleGroup")
| public void listRolesFromRoleGroup(){
| if(this.roleGroup!=null)
| rolesFromRoleGroup = roleGroup.getRoles();
| }
but in a action i add one role to this Set from the roleGroup.getRoles() variable... the first time the t:dataTable show the role, but the second and if i remove the first role from this Set the t:tableTable dont updates, is always showing the same value...
I see in teh forum that the updates is derteminate from the isDirty method, and my equals method from Role entity is ok...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963290#3963290
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963290
More information about the jboss-user
mailing list