Hi,
On Mon, Apr 23, 2012 at 6:59 PM, lxw_first <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]