Hi,
are you sure that setModelObject or setModel are really called in your
code? If you modify TextField via Ajax be sure you have added it to
AjaxRequestTarget
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org