wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Pachod ...@thomas-daily.de>
Subject Re: How to run some JS only once after Ajax rendering is done ?
Date Wed, 08 Sep 2010 07:12:51 GMT
Hi
> have you tried invoking AjaxRequestTarget's method appendJavascript? Inside if
> statement try to write 
> AjaxRequestTarget.get().appendJavascript("jQuery.initEdit();");
>
> I had a similar problem some weeks ago and it worked.  
>   

It won't be run only once even if added multiple time (for example from 
different instances of the same behavior attached to different components).


thx still :)

++
joseph

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message