[
https://issues.apache.org/jira/browse/MYFACES-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901870#action_12901870
]
Matthias Weßendorf commented on MYFACES-2892:
---------------------------------------------
thanks for the reminder - I have a similar fix on my machine, while fixing
related issues from Trinidad ;-)
> INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL applies for String only
> -----------------------------------------------------------------------
>
> Key: MYFACES-2892
> URL: https://issues.apache.org/jira/browse/MYFACES-2892
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-252
> Affects Versions: 2.0.2-SNAPSHOT
> Environment: myfaces trunk
> Reporter: Martin Kočí
> Assignee: Jakob Korherr
> Attachments: MYFACES-2892.patch
>
>
> 11.1.3 Application Configuration Parameters:
> If the javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL context
> parameter value is
> true (ignoring case), and UIInput.getSubmittedValue() returns a zero-length
> String call
> UIInput.setSubmittedValue(null) and continue processing using null as the
> current submitted value
> Currently UIInput.validate applies it to every type of submittedValue, not
> only for String. If I use custom non-String submmited value with
> toString().length()=0 UIInput.validate turns it into null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.