Or as I previously say:<br><br>python: url_quote(path(&quot;here/Our_Store/CheckOutAfterEditStuff&quot;))<br><br>Where path is a method that evaluates a string as a tales expresion like this<br><br><div><span class="gmail_quote">
2007/8/16, Peter Bengtsson &lt;<a href="mailto:peter@fry-it.com">peter@fry-it.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In TAL this::<br><br>&nbsp;&nbsp;python:url_quote(here/Our_Store/CheckOutAfterEditStuff)&quot;<br><br>means<br><br>&nbsp;&nbsp; here &lt;dividedby&gt; Our_Store &lt;dividedby&gt; CheckOutAfterEditStuff<br><br>What you need is::<br><br>&nbsp;&nbsp;python:url_quote(
here.Our_Store.CheckOutAfterEditStuff())&quot;<br><br><a href="mailto:tonylabarbara@aol.com">tonylabarbara@aol.com</a> wrote:<br>&gt; I have this line of code:<br>&gt;<br>&gt; &lt;a tal:define=&quot;std modules/Products.PythonScripts.standard; url_quote
<br>&gt; nocall: std/url_quote; x python:url_quote(here/CheckOutAfterEditStuff)&quot;<br>&gt; tal:attributes=&quot;href<br>&gt; string:${here/renumberTheCart/absolute_url}?doc=${x}&quot;&gt;test&lt;/a&gt;<br>&gt;<br>&gt; but I get this error:
<br>&gt;<br>&gt; *Error Type: NameError<br>&gt; Error Value: name &#39;CheckOutAfterEditStuff&#39; is not defined*<br>&gt;<br>&gt; So I tried this:<br>&gt;<br>&gt; &lt;a tal:define=&quot;std modules/Products.PythonScripts.standard; url_quote
<br>&gt; nocall: std/url_quote; x<br>&gt; python:url_quote(here/Our_Store/CheckOutAfterEditStuff)&quot;<br>&gt; tal:attributes=&quot;href<br>&gt; string:${here/renumberLarimanCart/absolute_url}?doc=${x}&quot;&gt;test&lt;/a&gt;
<br>&gt;<br>&gt; and I got the same error, although now it can&#39;t find &quot;Our_Store&quot;. Now,<br>&gt; &quot;Our_Store&quot; is the container for this PT and &quot;CheckOutAfterEditStuff&quot; is<br>&gt; in the same container. What am I doing wrong?
<br>&gt; TIA,<br>&gt; Tony<br>&gt; ------------------------------------------------------------------------<br>&gt; AOL now offers free email to everyone. Find out more about what&#39;s free<br>&gt; from AOL at *AOL.com* &lt;
<a href="http://www.aol.com?ncid=AOLAOF00020000000437">http://www.aol.com?ncid=AOLAOF00020000000437</a>&gt;.<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; Zope maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Zope@zope.org">Zope@zope.org</a><br>&gt; <a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>&gt; **&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp;&nbsp;**
<br>&gt; (Related lists -<br>&gt;&nbsp;&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>&gt;&nbsp;&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev
</a> )<br><br>--<br>Peter Bengtsson,<br>work <a href="http://www.fry-it.com">www.fry-it.com</a><br>home <a href="http://www.peterbe.com">www.peterbe.com</a><br>hobby <a href="http://www.issuetrackerproduct.com">www.issuetrackerproduct.com
</a><br>_______________________________________________<br>Zope maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Zope@zope.org">Zope@zope.org</a><br><a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope
</a><br>**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp;&nbsp;**<br>(Related lists -<br> <a href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a><br> <a href="http://mail.zope.org/mailman/listinfo/zope-dev">
http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br></blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>