Hi,

try using ajaxRequest.appendJavaScript("JQuery here") to restore data picker functionality on updated field.

Dear Forum,
I'm have a jquery date picker field that I can update by adding
AjaxFormComponentUpdatingBehavior to a drop down choice.

After I have updated the date field using ajax through the drop down choice,
the jquery date picker functionality is no longer working.


Following the advice on this
http://apache-wicket.1842946.n4.nabble.com/target-addComponent-td2713413.html
post ,
I have added renderHead(IHeaderResponse response) {
response.renderOnLoadJavascript("jquery here");
}
to the form.
The behaviour is the same, the date picker works until the date field is
updated via ajax through the drop down choice.

Neither response.renderOnLoadJavascript or
response.renderOnDomReadyJavascript can make the date picker work after it
has been updated through  target.addComponent( startDateField );

Would anyone know how I can solve this problem?

Thanks in advance,
Lucas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/target-addComponent-breaks-Jquery-date-picker-tp3693121p3693121.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

Reply via email to