You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stefan Meyer (JIRA)" <de...@myfaces.apache.org> on 2006/09/02 14:58:22 UTC

[jira] Created: (MYFACES-1399) Select-Many-Component does not allow to register converter for collection but only collection elements

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