[
http://jira.jboss.com/jira/browse/JBSEAM-2111?page=comments#action_12402918 ]
Pete Muir commented on JBSEAM-2111:
-----------------------------------
Damian, please try updating your JSF libs to at least 1.2.06 or, ideally, latest, and let
me know if the problems is resolved.
We currently haven't qa'd the update of JSF in JBoss 4.2.2, but no problems seen
so far.
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
Components: JSF Integration
Affects Versions: 2.0.0.CR2
Environment: Mac OSX. Jboss 4.2.1, Java 1.5
Reporter: Damian Harvey
Assigned To: Pete Muir
Fix For: 2.1.0.GA
Attachments: Test.zip, Test2_using_Seam1.2.1.GA.zip, Test3.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