I think the only way to do this is to create a getter that returns the already 
wrapped field and then use the "parent" components name , something like

  |    public DataModel getListModel() {
  |     return new ListDataModel(list);
  | 
then #{component1.listModel} and #{component2.listModel} should return the 
appropriate models.

And yes, there's a bug with selection and index in the same class:
http://jira.jboss.org/jira/browse/JBSEAM-270

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

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

Reply via email to