JSF Value Change Event
843842Feb 6 2006 — edited Sep 14 2007I am having a problem using value change event properly:
I have a drop down. I initialize its value to the first item of drop down with managed property in xml configuration file.
When I change drop down from first value to second value, event is activated.
When I change drop down value back from second to first value event is not activate. This is probably because first value is being always initialized when bean is created and JSF compares this value to the new selected value and sees no change.
Of course, this behavior is wrong, since I was changing the value of the drop down from second item to first item.
Is there a way of dealing with this problem with JSF ?