Hey all,

 

Using Tapestry 5.4.28 is there a way to inject dynamically generated
javascript into JavaScriptSupport.Require() instead of an external
javascript file?

 

**Example**

 

@Environmental

private JavaScriptSupport jss;

 

void afterRender() {

    jss.require(**dynamically generated javascript**);

}

 

I stumbled across this topic in the archives which shows an example of an
external javascript file being injected.

 

http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/How-to-us
e-new-JavaScriptSupport-require-in-5-4-td5722177.html

 

Thanks

Reply via email to