There is a dropDown for which there is a valueCahngeListener. On exceuting code
valueChangeEvent.getOldValue().. its always giving null, But valueChangeEvent.getNewValue() is giving the current value that is selected in drop down.
Any cue why it is coming so.
Regards,
Gaurav
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
The getOldValue() gives the originating value as it was during initial display/render of the page.
The getNewValue() gives the newly selected value as the client has chosen.