----- Original Message -----
From: Riku Voipio <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 07, 2000 5:28 PM
Subject: [Zope] escaping with dtml?


> Hello,
> I'm trying to get some doubleqoutes to the final document,
> but I've been unsuccesful so far:
>
> <dtml-let hack="\"app\"
ONCHANGE=\'location.href=cookie?app=+this.options[this.selectedIndex].value\'">
> </dtml-let>
>

Maybe is not the best solution, but works...

<dtml-let hack="'%sapp%s
ONCHANGE=\'location.href=cookie?app=+this.options[this.selectedIndex].value\''
%('\x22','\x22')">
<dtml-var hack>
</dtml-let>

Interesting, isn't it?
:)

PM





_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to