Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread denethon
Hi I'm in the process of updating a wicket application from wicket 1.5 to wicket 6, and have come across a challenge regarding third party javascript code altering the DOM after markup has been sent to the client. Basically there are several section elements in the markup who are distributed

Re: Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread Martin Grigorov
Hi, How do you move the HTML element with id ajaxLinkID ? I think you can use jQuery#clone(true, true) to preserve the event bindings of the original HTML element. Martin Grigorov Wicket Training and Consulting On Mon, Jun 2, 2014 at 1:06 PM, denethon toremins...@hotmail.com wrote: Hi I'm

Re: Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread denethon
Using clone(true, true) solved it! Thank you for your fast response :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Remember-Wicket-Ajax-ajax-bindings-after-altering-DOM-with-javascript-tp4666091p4666095.html Sent from the Users forum mailing list archive at

Re: Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread Martin Grigorov
This is how we work here! ;) Have fun! Martin Grigorov Wicket Training and Consulting On Mon, Jun 2, 2014 at 2:01 PM, denethon toremins...@hotmail.com wrote: Using clone(true, true) solved it! Thank you for your fast response :-) -- View this message in context: