[jboss-user] [JBoss Seam] - Re: DataModel using Set does not work

andreigh.ts do-not-reply at jboss.com
Thu Jun 14 05:24:43 EDT 2007


There is something weird how this @DataModel functions, maybe it can be documented somewhere.

In my example the @DataModel exposes the Set of a hibernate entity(from one-many relationship).

If the @DataModel is a property of a stateful bean (conversation scope), then modifying the hibernate set, automatically updates the DataModel (this means that somehow seam links the DataModel  to the original object; it does not clone the collection?)

But if @DataModel is a property of a stateless bean, then modifying the hibernate set has no effect in the user interface.

I'm confused ... it's a bug?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054251#4054251

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054251



More information about the jboss-user mailing list