myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lantian (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-400) When jsp page is sibmited without selected option from selectManyListbox on TabbedPane occurs IllegalArgumentException "Value of UISelectMany .... is not of type Array or List"
Date Fri, 12 Aug 2005 01:13:54 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-400?page=comments#action_12318560 ] 

lantian commented on MYFACES-400:
---------------------------------

i found he same problem!

> When jsp page is sibmited without selected option from selectManyListbox on TabbedPane
occurs IllegalArgumentException "Value of UISelectMany ....  is not of type Array or List"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-400
>          URL: http://issues.apache.org/jira/browse/MYFACES-400
>      Project: MyFaces
>         Type: Bug
>   Components: JSF 1.1
>     Versions: 1.0.9 beta
>  Environment: JDK 1.5.0_03-b07, JBoss 4.0.2, Windows XP SP2
>     Reporter: Darlan Oliveira
>     Priority: Critical
>  Attachments: RendererUtils.java
>
> When jsp page is sibmited without selected option from selectManyListbox on TabbedPane
occurs:
> throw new IllegalArgumentException("Value of UISelectMany component with path : " + getPathToComponent(uiSelectMany)
+ " is not of type Array or List");
> I've adjusted String equals test on internalSubmittedOrSelectedValuesAsSet method in
src/share/org/apache/myfaces/renderkit/RendererUtils.java and i solved this problem.
> From: values == EMPTY_STRING
> To..: EMPTY_STRING.equals(values)

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