myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathias Broekelmann (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-464) UIInput.submittedValue is set to empty string even if there is no submitted value in the request
Date Fri, 02 Sep 2005 13:58:12 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-464?page=comments#action_12320892 ] 

Mathias Broekelmann commented on MYFACES-464:
---------------------------------------------

You are right. 

The problem is that the value for input fields can not be null. The request always contain
the empty string. The RI has the same problem.

The only solution I see is to check the previous value and if it is null and the converted
value is an empty string we set the value to null and don´t queue the value change event.
But is that working and don´t violates the spec too?

> 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


Mime
View raw message