[Zope] RE: Dynamically generating JavaScript

Tino Wildenhain tino at wildenhain.de
Mon Feb 14 13:05:48 EST 2005


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



More information about the Zope mailing list