RenderSupport.addScript is server side, not client side. (right?)

I need to do this from a JS and in another case from a TML. It's a complicated structure and not easy to re-model to suit.

p.

On 7/03/2011 10:38 AM, Thiago H. de Paula Figueiredo wrote:
On Sun, 06 Mar 2011 19:44:09 -0300, Paul Stanton <p...@mapshed.com.au> wrote:

Hi all,

Hi!

i'm using tapestry 5.1.0.5 on this particular project.
I'm not 100% sure this isn't already available, but before duplicating logic i thought I'd check... I need to be able to call a function at any point in the page state (ie before it's loaded, during loading, after load) but have it wait until tapestry.init has been called.

Have you tried adding the call to this function using RenderSupport.addScript()? It seems to do exactly what you need.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to