[
http://jira.jboss.com/jira/browse/JBSEAM-2111?page=all ]
Damian Harvey updated JBSEAM-2111:
----------------------------------
Attachment: Test.zip
Project showing this issue created with Seam Gen using Seam 2.0.0.CR2
coerceToType / javaassist error when converting types for multi
selection
-------------------------------------------------------------------------
Key: JBSEAM-2111
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2111
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.CR2
Environment: Mac OSX. Jboss 4.2.1, Java 1.5
Reporter: Damian Harvey
Attachments: Test.zip
When trying to display values in an h:selectManyCheckbox I get an error:
java.lang.IllegalArgumentException: Cannot convert
com.locuslive.odyssey.entity.Groups@3960f3 of typ
e class com.locuslive.odyssey.entity.Groups to class
com.locuslive.odyssey.entity.Groups_$$_javassis
t_219
I have created a very basic project with PERSON, GROUP and PERSONGROUP entities. I've
attached it after emptying the lib directory.
Essentially on the PersonEdit page I want to be able to select which Groups the Person
may belong to. This is done with the selectManyCheckbox. The checkbox is populated with a
list of GROUPs from a GroupList. It is bound to a variable in the PersonHome called
'groups'. This is a list of Groups that is extracted from the PersonGroup table
for that user.
The stacktrace is in the forum post. I have also generated the attached project under
Seam 1.2.1.GA and the problem is not there.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira