What does contact1 and contact2 refer to? Without seeing the rest of your code it looks
like you need to set up roles for the entity:
| @Entity
| @Name("contact")
| @Table(name = "CONTACT")
| @Roles(
| { @Role(name="contact1", scope=EVENT)
| @Role(name="contact2", scope=EVENT)}
| )
| public class Contact {
| ...
| }
|
Alternatively, the method I prefer, you could create a ContactHome which extends
EntityHome where you could hold references to Contact contact1, Contact contact2 with the
getters and setters. then reference in the form through contactHome.contact1.firstname
ect...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040699#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...