[Zope] ZPT Print QueryString
J. Cameron Cooper
jccooper at jcameroncooper.com
Mon Feb 23 19:37:04 EST 2004
Jason C. Leach wrote:
>I need to do something like:
>
><a tal:attributes="href string:${here/absolute_url}/index_html?QUERYSTRING">
> Refine Your Search
></a>
>
>How can I get the QueryString above?
>
The request object will provide this for you. To see what is available
you can do::
<span tal:replace="structure here/request" />
I'm pretty sure it is actually named QUERY_STRING. Don't assume it's
always there: I think it only shows up when there is one.
--jcc
--
"My point and period will be throughly wrought,
Or well or ill, as this day's battle's fought."
More information about the Zope
mailing list