Hello all,
I am facing a problem while dealing with valuechange listener.
I have one
JSF compenent and that is required field and the code is
I have listenerMethod in backing bean. first when user go to this page there is some value of country if user selects 1st option i.e.
Please select Country the due to validation it is giving validation exception, and resetting the selection to the previous value.
But i want the newly selected value to be selected by default.
If i remove required="true" then the null value is getting saved.
Do i need to go for custom Validator or is there any other way to achieve this?
any help would be highly appreciated.
thanks
Mahendra