I use for this purpose the Igor's idea of OnLoadJavascriptBehavior, see http://www.nabble.com/adding-a-listener-to-the-AjaxRequestTarget-tf3065865.html#a8548871 here .
N. Kiellberg wrote: > > Hi > I have panel where I have added a TextTemplateHeaderContributor. When I > include this panel "directly" on a page there is no problems, but when I > use Ajax to replace another panel with this panel it dosen´t work. It > seems like the browser dosen´t know that js-functions has been included . > If I refresh the page it works again. > > Nicholas > > -- View this message in context: http://www.nabble.com/TextTemplateHeaderContributor.forJavaScript-and-Ajax-tf3865042.html#a10975739 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user