Re: Execute Javascript after Ajax

2011-05-26 Thread Igor Vaynberg
target.appendJavascript("js") will execute it after components have been updated via ajax. -igor On Thu, May 26, 2011 at 6:12 PM, Phil Franken wrote: > Here are my components; > Wicket 1.4.17 > Page > AjaxTabbedPanel (with Panel1 and Panel2) > AdPanel which has adsense js, no components > AdPane

Execute Javascript after Ajax

2011-05-26 Thread Phil Franken
Here are my components; Wicket 1.4.17 Page AjaxTabbedPanel (with Panel1 and Panel2) AdPanel which has adsense js, no components AdPanel is on Panel1 and Panel2 When the tab panel renders the first tab (Panel1) the AdPanel executes its js and renders the ad. Moving to the second tab (Panel2) the