You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dave Brondsema (JIRA)" <my...@incubator.apache.org> on 2005/10/17 23:06:44 UTC
[jira] Created: (MYFACES-714) UISelectMany does not convert multiple items correctly
UISelectMany does not convert multiple items correctly
------------------------------------------------------
Key: MYFACES-714
URL: http://issues.apache.org/jira/browse/MYFACES-714
Project: MyFaces
Type: Bug
Components: Implementation
Versions: 1.1.0, Nightly
Reporter: Dave Brondsema
I have a converter for a specific type of object. This works fine with a selectOne component, but it does not with a selectMany component.
Right now it seems that UISelectMany.getConvertedValue(FacesContext context, Object submittedValue) expects submittedValue to be a single value but it recieves an array or list.
--
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
[jira] Commented: (MYFACES-714) UISelectMany does not convert multiple items correctly
Posted by "Dave Brondsema (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-714?page=comments#action_12332367 ]
Dave Brondsema commented on MYFACES-714:
----------------------------------------
My diagnosis was wrong. SelectMany's value must be an object array, not a list, for the converter to work. This does follow the spec.
We should do something about lists though. First, don't convert objects to strings if the reverse will not work. Second, a warning or info log message would help people that don't know that functionality is different with object arrays and lists.
> UISelectMany does not convert multiple items correctly
> ------------------------------------------------------
>
> Key: MYFACES-714
> URL: http://issues.apache.org/jira/browse/MYFACES-714
> Project: MyFaces
> Type: Bug
> Components: Implementation
> Versions: 1.1.0, Nightly
> Reporter: Dave Brondsema
>
> I have a converter for a specific type of object. This works fine with a selectOne component, but it does not with a selectMany component.
> Right now it seems that UISelectMany.getConvertedValue(FacesContext context, Object submittedValue) expects submittedValue to be a single value but it recieves an array or list.
--
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