[
https://issues.apache.org/jira/browse/MYFACES-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Kočí updated MYFACES-2892:
---------------------------------
Status: Patch Available (was: Open)
> 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čí
>
> 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.