[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2111) coerceToType / javaassist error when converting types for multi selection

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Mar 14 14:29:29 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2111?page=comments#action_12402995 ] 
            
Pete Muir commented on JBSEAM-2111:
-----------------------------------

See http://wiki.jboss.org/wiki/Wiki.jsp?page=UpgradeToMojarra1_2_08

> 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 at 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

        



More information about the seam-issues mailing list