This is another problem. You need to import url_quote in order to use it<br><br>But my help was about the error you send<br><br>See u<br><br><div><span class="gmail_quote">2007/8/16, <a href="mailto:tonylabarbara@aol.com">
tonylabarbara@aol.com</a> &lt;<a href="mailto:tonylabarbara@aol.com">tonylabarbara@aol.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;">

<div>Your solution didn&#39;t work. It throws an error, stating &quot;url_quote&quot; is not defined. Actually, the solution I posted below *did* work, but I needed to clean up the code being tossed around (I found a mistake).
</div>


<div>Thanks,</div>


<div>Tony<div><span class="e" id="q_1146eb28ef19dd15_1"><br>
<br>
<br>
-----Original Message-----<br>
From: Garito &lt;<a href="mailto:garito@sistes.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">garito@sistes.net</a>&gt;<br>
To: <a href="mailto:tonylabarbara@aol.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tonylabarbara@aol.com</a> &lt;<a href="mailto:tonylabarbara@aol.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tonylabarbara@aol.com</a>&gt;<br>
Sent: Thu, 16 Aug 2007 12:49 am<br>
Subject: Re: [Zope] URL_Rewrite<br>
<br>
</span></div></div><div><span class="e" id="q_1146eb28ef19dd15_3">


<div>python: url_quote(path(&#39;here/CheckOutAfterEditStuff&#39;))<br>
<br>
Cheers<br>
<br>


<div><span class="gmail_quote">2007/8/15, <a href="mailto:tonylabarbara@aol.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tonylabarbara@aol.com</a> &lt;<a href="mailto:tonylabarbara@aol.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 tonylabarbara@aol.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;">I have this line of code:<br>
<br>
&lt;a tal:define=&quot;std modules/Products.PythonScripts.standard; url_quote nocall: std/url_quote; x python:url_quote(here/CheckOutAfterEditStuff)&quot; tal:attributes=&quot;href string:${here/renumberTheCart/absolute_url}?doc=${x}&quot;&gt;test&lt;/a&gt; 
<br>
<br>
but I get this error:<br>
<br>
<strong>Error Type: NameError<br>
Error Value: name &#39;CheckOutAfterEditStuff&#39; is not defined</strong><br>
<br>
So I tried this:<br>
<br>
&lt;a tal:define=&quot;std modules/Products.PythonScripts.standard; url_quote nocall: std/url_quote; x python:url_quote(here/Our_Store/CheckOutAfterEditStuff)&quot; tal:attributes=&quot;href string:${here/renumberLarimanCart/absolute_url}?doc=${x}&quot;&gt;test&lt;/a&gt; 
<br>
<br>
and I got the same error, although now it can&#39;t find &quot;Our_Store&quot;. Now, &quot;Our_Store&quot; is the container for this PT and &quot;CheckOutAfterEditStuff&quot; is in the same container. What am I doing wrong? 
<br>
TIA,<br>
Tony

<div>
<hr style="margin-top: 10px;">
AOL now offers free email to everyone. Find out more about what&#39;s free from AOL at <a href="http://www.aol.com/?ncid=AOLAOF00020000000437" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><b>AOL.com 
</b></a>.<br>
</div>
<br>
_______________________________________________<br>
Zope maillist &nbsp;- &nbsp;<a href="mailto:Zope@zope.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.zope.org/mailman/listinfo/zope</a><br>
** &nbsp; No cross posts or HTML encoding! &nbsp;**<br>
(Related lists -<br>
&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.zope.org/mailman/listinfo/zope-dev </a>)<br>
<br>
</blockquote></div>
<br>
<br clear="all"><br>
-- <br>
Mis Cosas<br>
<a href="http://blogs.sistes.net/Garito" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://blogs.sistes.net/Garito</a> </div>
<div>
<hr style="margin-top: 10px;">
AOL now offers free email to everyone.  Find out more about what&#39;s free from AOL at <a href="http://www.aol.com?ncid=AOLAOF00020000000437" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><b>AOL.com
</b></a>.<br>
</div>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>