tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Norris (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2274) MultiplePropertySelect selectedList parameter is Collection, but fails if you pass in a Set
Date Tue, 18 Mar 2008 17:07:26 GMT
MultiplePropertySelect selectedList parameter is Collection, but fails if you pass in a Set
-------------------------------------------------------------------------------------------

                 Key: TAPESTRY-2274
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2274
             Project: Tapestry
          Issue Type: Bug
          Components: Contrib
    Affects Versions: 4.1.5
         Environment: jdk 1.6.0
            Reporter: Chris Norris
            Priority: Minor


The MuliplePropertySelection component has a selectedList parameter of type java.util.Collection.
 If you pass in a Set as a parameter, however, you will get an error like this when the form
rewinds:

Unable to convert type java.util.ArrayList of [com.domain.Object:3@134a819] to type of java.util.Set

Solution: make the parameter a List rather than a Collection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message