[Zope] Passing query strings in trees

Martijn Pieters mj@antraciet.nl
Thu, 07 Oct 1999 16:08:18 +0200


At 15:51 07/10/99 , Michel Pelletier wrote:
> > -----Original Message-----
> > From: Jim Cain [mailto:jec@mgmt-inc.com]
> > Sent: Wednesday, October 06, 1999 10:17 PM
> > To: zope@zope.org
> > Subject: [Zope] Passing query strings in trees
> >
> > All,
> >
> > I have a Zope tree structure that requires a query variable
> > to be passed to
> > it. The first time through, I can pass it on the http request with no
> > problem:
> >
> > http://www.mgmt-inc.com/some_object?variable=value
> >
> > But this query string is not included in the [+] and [-] links to
> > expand/contract the tree so that I can pass it on to the next
> > rendering of
> > this object. How do I do this?
>
><a href="http://a.url/?<dtml-var QUERY_STRING>">link</a>
>
>-Michel

Waky waky Michel.. He wants the QUERY_STRING added to the URL for the + and 
- icons. Which isn't possible in the current implementation of the tree tag.

You'll either will have to extend the tree tag, or use a cookie.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------