You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Offiah Raymond, Slough" <Ra...@aniteps.com> on 2005/06/29 16:30:45 UTC

Generating a single Javascript function from multiple components

Hi there.

 

I've been playing around with the Javascript rendering function built into
to Tapestry, and I have a question.

 

I can see how it's possible to have a number of components 'fill in' the
<body> of the page or the <initialisation> section, 

 

But is it possible to define a function such as

 

Function enableAllComponents()

{

 

 

 

 

   // Components write Javascript here during rendering

 

 

}

 

And then have a number of components write the Javascript to fill in the
body of the single function. 

 

Is this possible?

 

 



Scanned for viruses by MessageLabs. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.