Hi, On Mon, Apr 23, 2012 at 6:59 PM, lxw_first <lxw_fi...@hotmail.com> wrote: > I have a question in trying to change the label content in the ModalWindow. > There is a label in the ModalWindow. The ModalWindow extends the Panel. > How to change the content of the modalwindow when the content ofthe > textfield changed?
textField.add(new AjaxFormComponentUpdatingBehavior("onchange") { @Override public void onUpdate(AjaxRequestTarget target) { label.setDefaultModelObject("A new value"); target.add(label); } }); > Anyone can help me? > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/about-the-modalwindow-in-the-wicket-tp4580873p4580873.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 > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org