Have you looked at this: http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.15.html Jonathan ----- Original Message ----- From: "Ulla Theiss" <u.theiss@eurodata.de> To: "Zope Mailing List" <zope@zope.org> Sent: Wednesday, December 07, 2005 4:50 PM Subject: [Zope] dtml-tree (urlparam)
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.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )