incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif Johansson (JIRA)" <>
Subject [jira] Created: (ADFFACES-22) Allow parameter values to take a wider range of types
Date Sun, 18 Jun 2006 08:06:29 GMT
Allow parameter values to take a wider range of types

         Key: ADFFACES-22
     Project: MyFaces ADF-Faces
        Type: Bug

 Environment: 3.2-SNAPSHOT version of the jsf cartridge.
    Reporter: Leif Johansson
    Priority: Minor

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 existingcode should be nil.
is a patch agains adf-faces-impl revision 414891.

Index: src/main/java/org/apache/myfaces/adfinternal/uinode/
--- src/main/java/org/apache/myfaces/adfinternal/uinode/       (revision
+++ src/main/java/org/apache/myfaces/adfinternal/uinode/       (working
@@ -100,7 +100,7 @@
             Parameter p = new Parameter();
-            p.setValue((String)((UIParameter)kid).getValue());
+            p.setValue(((UIParameter)kid).getValue().toString());

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message