[Zope] Querystring args from TAL

Troy Farrell troy at entheossoft.com
Thu Mar 25 11:39:00 EST 2004


The data you are looking for lives inside 'request'.  Create a DTML method with 
the content:

<dtml-var REQUEST>

View it to see available variables.  Then, view it with a query string (i.e. 
http://localhost/requestdtmlmethod?bob=1&jim=Something%20else) and see how 
request changes.  Then, go back to your TAL and try something like:

<span tal:content="request/bob" />

Troy

Dale Strickland-Clark wrote:
> OK. I give up. I have searched for the answer to this for far too long.
> 
> How do I access a single argument from a query string from in a TAL 
> expression?
> 
> Thanks in such high anticipation that I may soon explode.
> 
> Dale Strickland-Clark



More information about the Zope mailing list