Ah, never mind. I find the option to assign name of DataModel to
DataModelSelection.
| @org.jboss.seam.annotations.datamodel.DataModel("applicationPersonnels")
| private java.util.List<Personnel> applicationPersonnels;
|
| @org.jboss.seam.annotations.Factory("applicationPersonnels")
| public void fillPersonnels()
| {
| if (applicationPersonnels == null)
| {
| applicationPersonnels = getInstance() == null ? null :
getInstance().getPersonnels();
| }
| }
|
@org.jboss.seam.annotations.datamodel.DataModelSelection("applicationPersonnels")
| private Personnel personnel;
| public Personnel getPersonnel()
| {
| return personnel;
| }
|
|
@org.jboss.seam.annotations.datamodel.DataModel("applicationExcludedDrivers")
| private java.util.List<Driver> applicationExcludedDrivers;
|
| @org.jboss.seam.annotations.Factory("applicationExcludedDrivers")
| public void fillExcludedDrivers()
| {
| if (applicationExcludedDrivers == null)
| {
| applicationExcludedDrivers = getInstance() == null ?
null : getInstance().getExcludedDrivers();
| }
| }
|
@org.jboss.seam.annotations.datamodel.DataModelSelection("applicationExcludedDrivers")
| private Driver driver;
| public Driver getDriver()
| {
| return driver;
| }
|
Thanks for the help!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070620#4070620
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070620
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user