[ 
https://issues.apache.org/jira/browse/MYFACES-1868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590855#action_12590855
 ] 

Simon Kitching commented on MYFACES-1868:
-----------------------------------------

The specification for UIInput.validate is clear that the submittedValue is 
passed to the converter, and then stored as a magic "local value" property, 
*not* stored back as the submittedValue.

I have no idea why property submittedValue is declared as type Object and not 
String, but it is not because it is meant to hold the converted value. Maybe it 
is for supporting presentation layers other than HTML..

Guy, unless you can provide a reference to a specific section of the JSF 
specification that says the current implementation is wrong, I will close this 
issue as invalid. In future, please raise questions on the user list rather 
than creating entries in our bug-tracker unless you have definite proof that 
something really is a bug.

> getSubmittedValue doesn't return converted values
> -------------------------------------------------
>
>                 Key: MYFACES-1868
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1868
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>            Reporter: Guy Bashan
>
> getSubmittedValue method always returns the string value of the control. The 
> actual returned value is Object, so I am assuming it supposed to convert the 
> value.

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