[ 
https://issues.apache.org/jira/browse/ADFFACES-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Weßendorf updated ADFFACES-75:
---------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> CLASSCASTEXCEPTION WHEN USING NON-STRING PARA VALUE WITHIN COMMANDBUTTON
> ------------------------------------------------------------------------
>
>                 Key: ADFFACES-75
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-75
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Arjuna Wijeyekoon
>            Priority: Trivial
>             Fix For: 1.0.0-incubating-core
>
>
> I have the following:
> <af:commandButton >
>   <f:param value="#{foo.inputValue}" 
>           name="empId"/>
> </af:commandButton> 
> since #{foo.inputValue} evaluates to a java.lang.Number this is throwing 
> ClassCastException.
> trivial fix is to use
> String foo = label.toString()
> instead of
> String foo = (String) label
> I have a fix already. will upload patch shortly.

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

Reply via email to