[ http://issues.apache.org/jira/browse/MYFACES-824?page=comments#action_12357646 ]
Simon Kitching commented on MYFACES-824: ---------------------------------------- I don't understand what you are saying here. The method setSubmittedValue is only ever called from the decode method of the component's renderer, during the "apply request values" phase of processing. It tells the component what String value was found in the submitted form (ie in the http request paramMap). If the current page contains two forms, and the input field was in one form but the user submitted the other then on decode the component will see there is *no* value for it in the http request params. I bet in this case _submittedValue is null. Perhaps this link may be useful: http://wiki.apache.org/myfaces/StudyGuide > 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: Nightly > 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
