When I create a TextField as follows:
TextField postCode = new TextField<String>( new Model<String>("xxx"));
the object is created and shows the correct value.

However, once the object is created, I do not seem to be able to change the
value.
postCode.setModelObject("zzz");
and 
postCode.setModet(new Model<String>("zzz"));
both do not appear to work, even with all the Ajax stuff setup correctly.

What would be the correct code, thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Basic-TextField-question-tp3579272p3579272.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to