Programmatically means you could do something like this:

  | ...
  | private List myList;
  | private ListDataModel myDataModel;
  | ...
  | public void initializeMyDataModel() {
  |   this.myDataModel = new ListDataModel(this.myList);
  |   Context.getConversationContext().set("myProgrammaticName", 
this.myDataModel);
  | }
  | ...
  | 

The DataModel will now be available in the conversation context under the name 
provided.  This of course will depend on what Context you want to set the 
DataModel into.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083926
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to