Perhaps you put the name of a template as doc and in this template render the html code you want to render (like in this example a hidden input) Only an idea... 2007/8/15, tonylabarbara@aol.com <tonylabarbara@aol.com>:
Well, the other fellow said url_quote was well documented, but I haven't found out where :) Since you strongly imply I need url quoting, can you tell me how to url_quote this "doc" parameter?
<a tal:attributes="href string:${here/renumberTheCart/absolute_url}?doc=${here/CheckOutAfterEditStuff}">
Yes, it's sloppy, but I'm trying to resolve one problem at a time. Once it's working, I'll make it cleaner ;) TIA, Tony
-----Original Message----- From: Chris Withers <chris@simplistix.co.uk> To: tonylabarbara@aol.com Cc: zope@zope.org Sent: Wed, 15 Aug 2007 12:54 pm Subject: Re: [Zope] Another "Structure" Problem
tonylabarbara@aol.com wrote:
<a href=" http://203.223.152.46:8080/lariman.com/s/renumberTheCart?doc=<div><input<http://203.223.152.46:8080/lariman.com/s/renumberTheCart?doc=+%3Cdiv%3E%3Cinput>type="hidden" name="redirect_cmd" value="_cart">
etc. Is there a way to work around this?
Of course not, you don't need url quoting, that would be silly ;-)
Chris
PS: Why on *earth* you're passing around lumps of html in parameters anyway is *totally* beyond me...
-- 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* <http://www.aol.com?ncid=AOLAOF00020000000437>.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Mis Cosas http://blogs.sistes.net/Garito