[Zope] another PageTemplate question

Joachim Schmitz js@aixtraware.de
Fri, 01 Mar 2002 20:03:15 +0100


I found the problem

JavaScript=3DHTMLFile('public/JavaScript',globals()

and the JavaScript.dtml contained <dtml-var js_header>

I changed that and run into the next problem.

tal quotes all "<script language=3D"JavaScript">"

into &lt;script language=3D"JavaScript"&gt;
is there a way to avoid this ?


--On Freitag, M=E4rz 01, 2002 17:27:37 +0000 Chris Withers=20
<chrisw@nipltd.com> wrote:

> Sounds like you need to talk to ActivImages authors...
>
> Joachim Schmitz wrote:
>>
>> I am using the ActivImages product, which generates Javascript with:
>>
>> <dtml-with ActiveImages>
>> <dtml-var JavaScript>
>> </dtml-with>
>>
>> I tried:
>> <span tal:replace=3D"here/ActiveImages/JavaScript"
>> tal:omit-tag=3D"">test</span>
>>
>> as a replacement, but got
>>
>> Error Type: TALESError
>>  Error Value: exceptions.KeyError on js_header in
>> "standard:'here/ActiveImages/JavaScript'", at line 7, column 1
>>
>> Mit freundlichen Gr=FC=DFen                              Joachim Schmitz
>> --------------------------------------------------------------------
>> AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
>> H=FCsgenstr. 33a, D-52457 Aldenhoven
>> Telefon: +49-2464-8851, FAX: +49-2464-905163
>> --------------------------------------------------------------------
>> Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1  1EDC 725B 3317 A8D7 C3A6
>> Keyserver: http://germany.keyserver.net/en/
>>
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://lists.zope.org/mailman/listinfo/zope-announce
>>  http://lists.zope.org/mailman/listinfo/zope-dev )



Mit freundlichen Gr=FC=DFen                              Joachim Schmitz
--------------------------------------------------------------------
AixtraWare Ingenieurb=FCro f=FCr Internetanwendungen
H=FCsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163
--------------------------------------------------------------------
Key fingerprint =3D DA10 CC82 62F8 1DBB 39A1  1EDC 725B 3317 A8D7 C3A6
Keyserver: http://germany.keyserver.net/en/