This is my .tml code:

<div display="none">
    <!--//
    <script type="text/javascript">
          var myLiteral = "${myExpr}";
    </script>
    //-->
<div>

The ${myExpr} does not get replaced by the value from the Java class.

If I remove <!--// //-->, it does get replaced, but I get a JavaScript
error.

Any suggestions?

Eric

-- 
View this message in context: 
http://www.nabble.com/-t5.1.0.5--Expansion-does-not-work-in-custom-JavaScript-block-tp23787674p23787674.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