I believe this is the default or expected behavior.
<code>
<tr:selectOneChoice id="country" value="#{actionHandler.country}" 
label="Country"
        autoSubmit="true" immediate="true" 
        validator="#{actionHandler.validateCountry}">
        <f:selectItems value="#{actionHandler.countryOptions}"/>
</tr:selectOneChoice> 
</code>
In the dropdown, the first option is a blank option. When I select this option, 
the validator method "validateCountry" is not getting called. 
I would like to change its behavior so that even when I select the blank 
option, the autoSubmit still submits the value (even if it submits NULL or an 
empty String -- I don't care). Is there a way to do this?
Many thanks!



      

Reply via email to