[ZPT] structure usage question
Lynn Ranen
lranen@verio.net
Mon, 23 Sep 2002 16:09:21 -0400
hi -- i'm trying to do this
<a href="$url_query_string"> something else goes here </a>
where $url_query_string = GET string calling cgi function
After some hoop-jumping, I have this:
<a tal:attributes="href python:'Reports.py?doit&task_id=%s' %(taskid)">
foo </a>
The problem is that the ampersand is being escaped. The docs say the
"structure" keyword will prevent this, but I have been unable to get the
"structure" working in:
-- attributes statement
-- global variable definition statement
-- local variable definition statement
The GET works with the escaped ampersand, but I don't understand the need to
have keywords that only work under such restricted circumstances.
Thansk --lynn