[Zope] dtml-tree and REQUEST.form

2000-05-30 Thread Pierre-Julien Grizel


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=totoe-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  -  [EMAIL PROTECTED]
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 )




Re: [Zope] dtml-tree and REQUEST.form

2000-05-30 Thread Phil Harris

I'd be interested when it's done.

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Pierre-Julien Grizel" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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=totoe-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  -  [EMAIL PROTECTED]
 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 )


___
Zope maillist  -  [EMAIL PROTECTED]
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 )