It seems the get/setSubmittedValue() of javax.faces.component.EditableValueHolder
doesn't prescribe a value in case the submitted value was empty. I encountered
this problem when trying to do a validation of a HtmlSelectOneMenu within the
validator of another component (to achieve a 'required' validation of the menu
depending on the value of the validated component).
The MyFaces implementation sets the value of the HtmlSelectOneMenu in this case
NOTHING object from the org.apache.myfaces.shared_impl.renderkit.RendererUtils
class, which seems to be legal according to the specification.
However, if I have to check against this special value, my code isn't portable
between different JSF implementations. So I believe the specification has to
define how this case will be handled.