[jboss-user] [JBoss Seam] - How to Clone EntityHome Object

2007-07-11 Thread jonathan.shin
I'm creating a task module and the requirement is as follow: When user completed the task, copy the current task and change the completion date property to null and add to the database. Is there any example that copy the persistent object then add to the database? | @Override | pub

[jboss-user] [JBoss Seam] - Re: How: Create multiple sub-entities in one single form

2007-05-01 Thread jonathan.shin
What do you mean by anonymous wrote : | just put inputs for all the sub-entities in the main form. And make sure you instantiate the subentities when you instantiate the parent. | Do you have any simple example/ view and bean code? Thanks View the original post : http://www.jboss.com/

[jboss-user] [JBoss Seam] - Re: selectManyMenu validation error

2007-03-30 Thread jonathan.shin
Have checked the ui Favourite Colours example and it looks same as my code. I think JBoss Seam and ICEfaces are having a compatible issue. I'm using ICEfaces for the nav tree and selectManyMenu doesn't work well with ICEfaces. I have tested without ICEfaces and it works fine. Should I report

[jboss-user] [JBoss Seam] - Re: selectManyMenu validation error

2007-03-29 Thread jonathan.shin
The ui example demonstrates the use in a conversation with selectOneMenu which I don't have any problem with using selectOneMenu. I'm using selectOneMenu on other view files. Do you have any example for selectManyMenu with ManyToMany relationship? By the way, I tried with conversation but it

[jboss-user] [JBoss Seam] - Re: selectManyMenu validation error

2007-03-28 Thread jonathan.shin
I have tried with id equality rather than object equality but it doesn't work. How can I use a long-running conversation that spans the both the select list creation and the submission of the form? Can you post a example or more detail information? Also, how does it work with home object? Vi

[jboss-user] [JBoss Seam] - selectManyMenu validation error

2007-03-27 Thread jonathan.shin
I created EJB3 ManyToMany entities. User has a many to many relationship with Role. A user can have zero or more roles, and a role can have zero or more users. But, I?m getting validation error (?roles: Value is not a valid option?) when I clicked the ?Save? button. User Entity: | @Entity