Re: AjaxRequestTarget javascript execution order

2009-10-10 Thread Daniele Dellafiore
; > > Sounds like what you're looking for if I'm understanding your question > correctly. > > Craig >  _ > > From: Daniele Dellafiore [mailto:ilde...@gmail.com] > To: users@wicket.apache.org > Sent: Sat, 10 Oct 2009 07:51:27 -0400 > Subject: AjaxReques

Re: AjaxRequestTarget javascript execution order

2009-10-10 Thread McIlwee, Craig
: Daniele Dellafiore [mailto:ilde...@gmail.com] To: users@wicket.apache.org Sent: Sat, 10 Oct 2009 07:51:27 -0400 Subject: AjaxRequestTarget javascript execution order Hi. In my application I want to execute some javascript on a component that is going to be removed when a parent component is refres

AjaxRequestTarget javascript execution order

2009-10-10 Thread Daniele Dellafiore
Hi. In my application I want to execute some javascript on a component that is going to be removed when a parent component is refreshed causing him to be removed from DOM. What happens is that DOM is refreshed before the script added vua target.appendJavascript(mySCript) is executed. So myScript