myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Meyer (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-1399) Select-Many-Component does not allow to register converter for collection but only collection elements
Date Sat, 02 Sep 2006 12:58:22 GMT
Select-Many-Component does not allow to register converter for collection but only collection
elements
------------------------------------------------------------------------------------------------------

                 Key: MYFACES-1399
                 URL: http://issues.apache.org/jira/browse/MYFACES-1399
             Project: MyFaces Core
          Issue Type: Improvement
          Components: General
            Reporter: Stefan Meyer


You can register a converter for the elements of a selected collection of values but the collection
type itself cannot be controlled by a converter. It appears to me that the implementation
makes assumption about the developers intended collection type (one comments starts like "this
is a curious situation..."). Instead the collection type should be configurable. I have the
rather exotic application in mind where I want to edit an in-clause of an SQL query ("in (1,2,4)").
This String property apparently is eqivalent to a list of values of some type. If I want to
be able to make this String property of a managed bean editable by a jsf page I need a converter
that generates a collection of objects from the String. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message