incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-75) CLASSCASTEXCEPTION WHEN USING NON-STRING PARA VALUE WITHIN COMMANDBUTTON
Date Fri, 16 Mar 2007 08:37:16 GMT

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


Mime
View raw message