[
http://jira.jboss.com/jira/browse/JBSEAM-2111?page=comments#action_12402973 ]
Damian Harvey commented on JBSEAM-2111:
---------------------------------------
Pete, I've download JSF 1.2_08 and it fixes the issue. Tested with the project that I
uploaded to this JIRA.
I'm not familiar with what has changed from the default libs in Jboss 4.2.2.GA. Do you
think that I'll need to update any other libs (thinking of Facelets specifically)? I
haven't encountered any errors yet but better safe than sorry eh.
Cheers,
Damian.
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