Is there a way to print server side page/component properties in a javascript

Tapestry doesn't transform .js or .css files. In most cases this is a good thing design-wise. Consider creating functions in your static JavaScript files to initialize with your dynamic content via rendersupport.addInit or addScript. This allows the bulk of your common js to be cached on the client side. If you are generating something more complicated you could create a page and return the result as a textresponse.

-- Josh

On Jun 1, 2010, at 9:42 PM, Paul Stanton <p...@mapshed.com.au> wrote:

Hi All,

Is there a way to print server side page/component properties in a javascript included via @IncludeJavaScriptLibrary or css included via @IncludeStylesheet?

Thanks, p.

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


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

Reply via email to