[Zope] dtml-tree and REQUEST.form

Pierre-Julien Grizel pj@mouli.net
Tue, 30 May 2000 17:42:35 +0200


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.