Hello,
I dont know if im only experiencing this but i gave headache.My problem is i
have a AjaxFormComponentUpdatingBehavior on my dropdownchoice and i need to
get the value from a textfield/requiredtextfield but i find it hard...one
suggestion from colleague is to this:

amountTextfield.add(new AjaxFormComponentUpdatingBehavior("onchange"){
                        @Override protected void onUpdate(AjaxRequestTarget 
target){
                        }
                });

my dropdown same also..

dropdown.add(new AjaxFormComponentUpdatingBehavior("onchange"){
                        @Override protected void onUpdate(AjaxRequestTarget 
target){
                         ................................
                           //get the value of textfield
                       }
                });

...and its working...but when there no more values or empty string in
textfield the old inputed value was displaying...why could this be?is the
value cache?what could be the workaround for this?

Thanks a lot...Cheers

-- 
View this message in context: 
http://www.nabble.com/AjaxFormComponentUpdatingBehavior-weird-accessing-textfields-tp17552287p17552287.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to