[Zope] using url_quote outsite dtml-var
Joachim Schmitz
js@aixtraware.de
Mon, 30 Apr 2001 10:05:05 +0200 (CEST)
On Sun, 29 Apr 2001, Charlie Blanchard wrote:
> On Mon, Apr 30, 2001 at 12:04:40AM +0200, Joachim Schmitz wrote:
> > Hi,
> >
> > I am constructing URL strings in dtml like so:
> >
> > <dtml-call "REQUEST.set('link',BASE2 + '/' +sometext">
> >
> > where I must to use the url_quote on sometext. Like with
> >
> > <dtml-var sometext url_quote>. I tried:
> >
> > sometext.url_quote, resultet in string-object has no attribute url_quote.
> > _.url_quote(sometext) does also not work.
> >
> > any hint welcome
> >
> unless i'm missing the point completely, i think you need to look
> at:
>
> http://www.zope.org/Members/AlexR/EntitySyntax
yes you do ;-), so I didn't make it clear enough.
I want (have) to do something like:
<dtml-call "REQUEST.set('link',BASE2 + '/' + _.url_quote(sometext)">
^^^^^^^^^^^
that does not work
Mit freundlichen Grüßen
Joachim Schmitz
AixtraWare, Ing. Büro für Internetanwendungen
Hüsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163