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> <<a href="mailto:tonylabarbara@aol.com">tonylabarbara@aol.com</a>>:</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't work. It throws an error, stating "url_quote" 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 <<a href="mailto:garito@sistes.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">garito@sistes.net</a>><br>
To: <a href="mailto:tonylabarbara@aol.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tonylabarbara@aol.com</a> <<a href="mailto:tonylabarbara@aol.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tonylabarbara@aol.com</a>><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('here/CheckOutAfterEditStuff'))<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> <<a href="mailto:tonylabarbara@aol.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
tonylabarbara@aol.com</a>>:</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>
<a tal:define="std modules/Products.PythonScripts.standard; url_quote nocall: std/url_quote; x python:url_quote(here/CheckOutAfterEditStuff)" tal:attributes="href string:${here/renumberTheCart/absolute_url}?doc=${x}">test</a>
<br>
<br>
but I get this error:<br>
<br>
<strong>Error Type: NameError<br>
Error Value: name 'CheckOutAfterEditStuff' is not defined</strong><br>
<br>
So I tried this:<br>
<br>
<a tal:define="std modules/Products.PythonScripts.standard; url_quote nocall: std/url_quote; x python:url_quote(here/Our_Store/CheckOutAfterEditStuff)" tal:attributes="href string:${here/renumberLarimanCart/absolute_url}?doc=${x}">test</a>
<br>
<br>
and I got the same error, although now it can't find "Our_Store". Now, "Our_Store" is the container for this PT and "CheckOutAfterEditStuff" 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'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 - <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>
** No cross posts or HTML encoding! **<br>
(Related lists -<br>
<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>
<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'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>