[Zope] How Do I "Structure" This?

tonylabarbara at aol.com tonylabarbara at aol.com
Wed Aug 15 11:52:59 EDT 2007

Oops...forgot the "absolute_url" part <:-) Works fine now. Thanks!


-----Original Message-----
From: Chris Withers <chris at simplistix.co.uk>
To: tonylabarbara at aol.com
Cc: lists at zopyx.com; zope at zope.org
Sent: Wed, 15 Aug 2007 11:05 am
Subject: Re: [Zope] How Do I "Structure" This?

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.?
I feel we're fighting a loosing battle here...?
-- Simplistix - Content Management, Zope & Python Consulting?
? - http://www.simplistix.co.uk?

AOL now offers free email to everyone.  Find out more about what's free from AOL at AOL.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070815/7fba3548/attachment.htm

More information about the Zope mailing list