I made the experience that you have to write 
@DataModelSelection(value="getFieldname"), because without the get it doesn't 
work.

Here a short snippet of working code:


  |     @DataModel
  |     private List <ServiceItem> importCapsList;
  |     @DataModelSelection(value="getImportCapsList")
  |     private ServiceItem selectedCaps;
  |     @DataModelSelectionIndex
  |     private int capsIndex;
  | 

For the case that there are more @DataModel's I tried that, until know it works:


  |         @DataModel
  |         private List <Textmodule> admHeadList;
  |     @DataModelSelection(value="getAdmHeadList")
  |     private Textmodule selectedAdmHead;
  |     @DataModelSelectionIndex(value="getSelectedAdmHead")
  |     private int admHeadIndex;
  |     
  |     @DataModel
  |     private List <Textmodule> admFootList;
  |     @DataModelSelection(value="getAdmFootList")
  |     private Textmodule selectedAdmFoot;
  |     @DataModelSelectionIndex(value="getSelectedAdmFoot")
  |     private int admFootIndex;
  | 

Have a nice weekend!

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

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


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to