[ 
http://issues.apache.org/jira/browse/MYFACES-464?page=comments#action_12320886 
] 

Oliver Rossmueller commented on MYFACES-464:
--------------------------------------------

>From UIInput javadoc:
"During the Apply Request Values phase of the request processing lifecycle, the 
decoded value of this component, usually but not necessarily a String, must be 
stored - but not yet converted - using setSubmittedValue(). If the component 
wishes to indicate that no particular value was submitted, it can either do 
nothing, or set the submitted value to null."

So if no value was submitted we have the choice to either do nothing, or set 
the submitted value to null. Setting the value to the empty string does not 
comply with the spec and triggers a ValueChangedEvent although there was no 
value change, which also does not comply with the spec.

> UIInput.submittedValue is set to empty string even if there is no submitted 
> value in the request
> ------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-464
>          URL: http://issues.apache.org/jira/browse/MYFACES-464
>      Project: MyFaces
>         Type: Bug
>   Components: JSR-127
>     Versions: 1.0.10m10
>     Reporter: Oliver Rossmueller

>
> UIInput.submittedValue is set to empty string even if there is no submitted 
> value at all. This causes a ValueChangeEvent to be queued for ANY_PHASE 
> although there was no value change from the submitted values.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to