Even after overriding equals() and hash() and using convertEntity I still get 
this error:

anonymous wrote : Value is not a valid option

I'm not sure what else there is to do.
Here's my select:


  | <h:selectManyListbox id="cppmsUsers"  
value="#{profileHome.instance.cppmsUsers}">
  | <s:selectItems value="#{cppmsUserList.resultList}" var="cppmsUser" 
label="#{cppmsUser.name}"
  |     noSelectionLabel="Please Select..." hideNoSelectionLabel="true"/>
  | <ec:convertEntity entityClass="my.package.CppmsUser"/>
  | </h:selectManyListbox>

And the relevant getters/setters:


  | 
  |        @ManyToMany(mappedBy = "cppmsUsers")
  |     public List<Profile> getProfiles()
  |     {
  |             return this.profiles;
  |     }
  | 


  |         @ManyToMany
  |     @JoinTable(name = "PROJECT_ANALYST", joinColumns =
  |     { @JoinColumn(name = "PROJECT_NUMBER") }, inverseJoinColumns =
  |     { @JoinColumn(name = "USER_ID") })
  |     public List<CppmsUser> getCppmsUsers()
  |     {
  |             return this.cppmsUsers;
  |     }

Any help would be appreciated.

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

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

Reply via email to