14 Feb
2005
14 Feb
'05
6:05 p.m.
Am Montag, den 14.02.2005, 10:37 -0600 schrieb Andy Yates:
Yes, you are right that works fine and is cleaner. My point is that Zope does not seem to render tal statements between <script> tags. They get ignored.
This works <script type="text/javascript" tal:content="here/myscript_js"></script>
but this does not.
<script type="text/javascript" > <tal:block tal:content="here/myscript_js" /> </script>
This is a known FAQ and in short its not a property of TAL but of HTML. The declaration does not allow for tags inside <script /> HTH Tino