[ZPT] Re: why does tal not get interpretted inside <script> tags?

Godefroid Chapelle gotcha at bubblenet.be
Wed Sep 15 06:49:35 EDT 2004


Chris Withers wrote:

> Godefroid Chapelle wrote:
> 
>>> All well and good, but my template is generating html.
>>>
>>> *sigh*
>>
>>
>> Have you tried the following ?
> 
> 
> My JS is "somewhat" more complicated than that.

Obviously...

The snippet shown was with the idea of just dynamically write the 
arguments to JS function/method call(s).

Those JS functions/methods being in a normal js file.

> I ended up resorting to 
> building it in a python function as suggested by someone on the Roundup 
> list.
> 
> Doing it this way actually eventually made it a lot clearer, so I'm glad 
> I did :-)
> 
> cheers,
> 
> Chris
> 



More information about the ZPT mailing list