[Zope] dtml-tree (urlparam)

Jonathan dev101 at magma.ca
Wed Dec 7 17:08:58 EST 2005


Have you looked at this:

http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.15.html


Jonathan

----- Original Message ----- 
From: "Ulla Theiss" <u.theiss at eurodata.de>
To: "Zope Mailing List" <zope at 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 at 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 )
> 




More information about the Zope mailing list