Hello,

<textarea wicket:id="myString" rows="10"></textarea>

FormComponent myStringComp = new TextArea("myString", new
PropertyModel(this, "myString"));
myStringComp.add(new AjaxFormComponentUpdatingBehavior("onchange"){
           protected void onUpdate(AjaxRequestTarget target) {
                  myString
                  // do stuff
           }
});

Using ajax, almost everything seems to work. If I clear the textarea and tab
out, the String myString does not change to null or an empty string, it
retains the previous value.

What am I missing?

Thanks,

Shawn Tumey
Cofounder
MT Web Productions LLC
www.mtwebproduction.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to