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

gavin.king@jboss.com do-not-reply at jboss.com
Wed Jul 12 14:50:00 EDT 2006


"petemuir" wrote : I think Gavin means
  | 
  | 
  |   | @Out
  |   | private ListDataModel myList;
  |   | 
  | 
  | It will then be accessible in another bean as
  | 
  | 
  |   | @In
  |   | private ListDataModel myList
  |   | 
  | 
  | and the selection can be accessed
  | 
  | 
  |   | myList.getRowSelection();
  |   | 
  | 

You can even outject it as:


@DataModel 
  | private List myList

and still inject


  | @In
  | private DataModel myList
  | 

In another bean ;-)

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

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



More information about the jboss-user mailing list