Hello, I'm looking to pass a Java string variable into my
javaScriptSupport.addScript method. I'm using the tapestry jquery library. 

Below is a sample of what I'm looking to do, however this does not function. 

    void afterRender() {
        String test = "test";
        javaScriptSupport.addScript("requiredFields(" + test + ");");
    }

Any guidance would be of great help, thanks in advance. 

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Pass-java-String-variable-into-addscript-jquery-method-tp5137957p5137957.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to