I need quite a simple solution to implement this.
I need to store a value which I selected in JSF selectOneListbox drop down and need to preserve this value in bean. So everytime when user selects a new value, the one value I should be checking with new value in drop down. How best is this to do this using session?
Any java solutions to preserve the previous selected value?
I tried ValueChangeEvent oldValue is not working because my scope is request and that’s why I am looking for alternate methods.
My JSF version is 1.1
Well, you can try this:
Then you can access the old value this way: