You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2005/12/06 14:38:32 UTC

[jira] Closed: (MYFACES-824) if submittedValue==null, required==true not checked

     [ http://issues.apache.org/jira/browse/MYFACES-824?page=all ]
     
Martin Marinschek closed MYFACES-824:
-------------------------------------


> if submittedValue==null, required==true not checked
> ---------------------------------------------------
>
>          Key: MYFACES-824
>          URL: http://issues.apache.org/jira/browse/MYFACES-824
>      Project: MyFaces
>         Type: Bug
>   Components: JSR-127
>     Versions: 1.1.2
>     Reporter: Dave Brondsema
>     Priority: Minor

>
> In UIInput.java, in validate() at line 263 there is "if (submittedValue == null) return;"
> This seems to be incorrect to me.  If submittedValue is set to null, then validate returns without checking to see if required=true.  According to the UIInput spec javadocs " If the component wishes to indicate that no particular value was submitted, it can either do nothing, or set the submitted value to null."

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