[jboss-user] [JBoss Seam] - Re: how is DataModelSelection populated

gavin.king@jboss.com do-not-reply at jboss.com
Wed Jul 12 15:06:27 EDT 2006


"iradix" wrote : When you annotate a List as a @DataModel what goes on behind the scenes is that Seam wraps that list in an object of ListDataModel and outjects it, by default into the conversation context.

Actually the default is: "same context as the owning component" ;-)


"iradix" wrote : @In(value = "someList.rowIndex")
  | int selectedRow
  | 

Actually it would need to be:

"iradix" wrote : @In("#{someList.rowIndex}")
  | int selectedRow;
  | 

or:

"iradix" wrote : @In("#{someList.rowData}")
  | Foo selectedFoo;
  | 

I also have not actually tried this, but it seems like it would probably work ;-)

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

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



More information about the jboss-user mailing list