[Zope] dtml-tree and REQUEST.form

Phil Harris phil.harris@zope.co.uk
Tue, 30 May 2000 16:50:20 +0100


I'd be interested when it's done.

Phil
phil.harris@zope.co.uk

----- Original Message -----
From: "Pierre-Julien Grizel" <pj@mouli.net>
To: <zope@zope.org>
Sent: 30 May 2000 16:42
Subject: [Zope] dtml-tree and REQUEST.form


>
> Hi,
>
>
> I'm currently implementing a tree using... dtml-tree.
> In the document I use, I just have the tree and a table which desplays
results
> according both to the tree state and some form data (passed through
> REQUEST.form).
>
> I.e. my URLs should look like the following :
> http://xxx.xxx/xxx/yyy/zzz/MyPage?MyVar=toto when I first open the page,
> and it SHOULD look like
> http://xxx.xxx/xxx/yyy/zzz/MyPage?MyVar=toto&e-tree=<tree-stuff>.
>
>
> You guess - it doesn't look like this at all.
> This because the <dtml-tree> tag doesn't use the REQUEST.form dictionnary
data
> to build its URLs. Instead, it just discards, in the URLs it builds, every
> single GET variable you wish to use.
>
> I'm currently patching the TreeTag.py file to support the REQUEST.form
data,
> but I'd like to know if someone ever had this problem, and maybe corrected
it -
> I hate patching.
>
>
> Also, if there is no other solution, I'd like to know if there are peolple
> intersted in this patch.
>
>
>
>
>
> Thanks,
>
>
> P.-J.
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )