[Zope] dtml-tree (urlparam)

Ulla Theiss u.theiss at eurodata.de
Wed Dec 7 16:50:59 EST 2005


Dear list,
 
I have a problem using dtml-tree.
 
The page which contains a dtml-tree should show a dynamic parameter, 
passed with to url calling the dtml-tree-page.
 
page_with_dtml_tree?myparam=yup
 
Before expanding or collapsing the tree, everything works fine.
 
But if I expand or collapse it, this parameter is forgotten.
 
I found the dtml-tree-parameter urlparam, which is included in the 
expanding and collapsing widget links.
<dtml-tree urlparam="myparam=abc">
 
This works fine with hard coded strings.
 
* But my string is dynamic! *
How can I pass it?
 
<dtml-tree urlparam="myparam=<dtml-var myparam>"> produced  syntax-errors.
 
Has somebody an idea, how to pass it - or how to work around the problem?
 
Many thanks in advance,
Ulla.




More information about the Zope mailing list