A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Apr 08, 2008
Feb 05, 2009 23:07:09
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.
Joined: Oct 08, 2006
Feb 06, 2009 06:14:31
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.
What did you expect then?
It is sorta covered in the
JavaRanch Style Guide
subject: ValueChangeEvent help!!
Passed SCWCD 1.4 with 82%
Is httpunit support script contains table1 deleteRow( rowno)
Regarding Ebb 3.0
Personal Problem (Need Advice)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014