[Zope] How Do I "Structure" This?

Andreas Jung lists at zopyx.com
Wed Aug 15 11:08:18 EDT 2007

--On 15. August 2007 16:05:13 +0100 Chris Withers <chris at simplistix.co.uk> 

> Ah Tony,
> looks like the penny is yet to drop...
> tonylabarbara at aol.com wrote:
>> Bummer. Well, I'm trying to call a script that will render content to
>> the Web, like this: <a tal:attributes="href
>> python:here.a_script(str(x))">
> My guess is that what you're _really_ trying to do here is:
> <a href=""
>   tal:attributes="href string:${here/a_script/absolute_url}?avar=${x}"/>
> ...but next you'll be wondering how to url quote x.

By using the well-know url_quote() or url_quote_plus() methods.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070815/970c3ea7/attachment.bin

More information about the Zope mailing list