[Zope] passing values from dtml->dtml; http quote?
Juan Garcia Garcia
juangar@dei.inf.uc3m.es
Fri, 8 Feb 2002 08:58:27 +0100 (CET)
Hi,
you can convert the spaces into %20 and this should work in anchors.
You must specify an attribute for the dtml-var tag, and the syntax
would be like this: <dtml-var variable url_quote>
Bye. Juan
> I have some arguments that I want to pass from one DTML method to
> another. In the source DTML document, the values are in the REQUEST
> object. I could pass them to the destination document with the CGI
> syntax
>
> <a href=print_eeg_description?id=<dtml-var id>&fname=<dtml-var
> eeg_url>&date=<dtml-var date>>description</a>
>
> where print_eeg_description is the destination DTML document. The
> problem I am encountering is one of the vars has a space in it; I
> need something like HTTP quote.
>
> But this also makes me wonder if there is a better way to pass
> variables between DTML documents.
>
> Thanks,
> John Hunter
>
> Zope 2.4.1