Hi,
this may help you:
I am using DateTextField from the package
org.apache.wicket.datetime.markup.html.form;
In the panel where I add this field, you can do:
@Override
protected void onBeforeRender()
{
super.onBeforeRender();
if (!hasBeenRendered())
{
dateField.get("date").add(new
AjaxFormComponentUpdatingBehavior("onchange")
{
@Override
protected void onUpdate(AjaxRequestTarget target)
{
}
});
}
}
Regards
Vitek
Arnaud Garcia wrote:
Hi list !
I add an AjaxFormComponentUpdatingBehavior on my DateTextField to update my
model "on the fly"...
The updating behavior is based on the "onblur" event...
it works well, but since I added a DatePicker to the dateTextField I can't
"react" on the "onblur" javascript event.
How can I intercept the moment when the dateTextField is updated by the
DatePicker ?
Thanks
Arnaud
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org