[ZPT] javascript

Harry Wilkinson harryw@nipltd.com
Fri, 12 Apr 2002 11:57:10 +0100


The <script> and <style> tags are specifically excluded from ZPT because they 
contain data that is supposed to be delivered directly to the application 
without parsing.  So basically, you can't make your scripts dynamic by 
embedding ZPT presentation code in them, although I have to say I'd like to 
be able to.

If you need your scripts to be dynamic, I suggest using a Python script to 
generate the Javascript code.


Harry

On Friday 12 April 2002 11:16 am, Georges Baladi wrote:
> Hi,
>
> Can I dinamicaly modify an javascript with ZPT?
>
> Example:
>
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt