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-22) Allow parameter values to take a wider range of types
Date Fri, 16 Mar 2007 08:37:11 GMT

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

Matthias We├čendorf updated ADFFACES-22:
---------------------------------------

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

> Allow parameter values to take a wider range of types
> -----------------------------------------------------
>
>                 Key: ADFFACES-22
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-22
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating-core
>         Environment: 3.2-SNAPSHOT version of the andromda.org jsf cartridge.
>            Reporter: Leif Johansson
>         Assigned To: Adam Winer
>            Priority: Minor
>             Fix For: 1.0.0-incubating-core
>
>
> When modelling a Long parameter on an action I noticed that FireActionBoundValue could
not
> handle UIParameter values not of type String. By replacing the typecast (String) with
a call
> to toString() a wider range of types are permitted. Impact on existing code should be
nil. This
> is a patch against adf-faces-impl revision 414891.
> Index: src/main/java/org/apache/myfaces/adfinternal/uinode/FireActionBoundValue.java
> ===================================================================
> --- src/main/java/org/apache/myfaces/adfinternal/uinode/FireActionBoundValue.java   
   (revision 414891)
> +++ src/main/java/org/apache/myfaces/adfinternal/uinode/FireActionBoundValue.java   
   (working copy)
> @@ -100,7 +100,7 @@
>            {
>              Parameter p = new Parameter();
>              p.setKey(((UIParameter)kid).getName());
> -            p.setValue((String)((UIParameter)kid).getValue());
> +            p.setValue(((UIParameter)kid).getValue().toString());
>              params.add(p);
>            }
>          }

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