<div>Oops...forgot the "absolute_url" part &lt;:-) Works fine now. Thanks!</div>


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


<div id=AOLMsgPart_0_76f1d544-89f5-4237-b204-84f3754a3fc3 style="FONT-SIZE: 12px; MARGIN: 0px; COLOR: #000; FONT-FAMILY: Tahoma, Verdana, Arial, Sans-Serif; BACKGROUND-COLOR: #fff">Ah Tony,&nbsp;<br>
&nbsp;<br>
looks like the penny is yet to drop...&nbsp;<br>
&nbsp;<br>
<A href="mailto:tonylabarbara@aol.com">tonylabarbara@aol.com</A> wrote:&nbsp;<br>
&gt; Bummer. Well, I'm trying to call a script that will render content to the Web, like this:&nbsp;<br>
&gt; &lt;a tal:attributes="href python:here.a_script(str(x))"&gt;&nbsp;<br>
&nbsp;<br>
My guess is that what you're _really_ trying to do here is:&nbsp;<br>
&nbsp;<br>
&lt;a href=""&nbsp;<br>
&nbsp;tal:attributes="href string:${here/a_script/absolute_url}?avar=${x}"/&gt;&nbsp;<br>
&nbsp;<br>
...but next you'll be wondering how to url quote x.&nbsp;<br>
&nbsp;<br>
I feel we're fighting a loosing battle here...&nbsp;<br>
&nbsp;<br>
Chris&nbsp;<br>
&nbsp;<br>
-- Simplistix - Content Management, Zope &amp; Python Consulting&nbsp;<br>
&nbsp; - <A href="http://www.simplistix.co.uk/" target=_blank>http://www.simplistix.co.uk</A>&nbsp;<br>
</div>
<!-- end of AOLMsgPart_0_76f1d544-89f5-4237-b204-84f3754a3fc3 --><div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
AOL now offers free email to everyone.  Find out more about what's free from AOL at <a href="http://www.aol.com?ncid=AOLAOF00020000000437" target="_blank"><b>AOL.com</b></a>.<br />
</div>