[Zope] dtml-tree

Dmitry Matveev Dmitry Matveev <matveev@uralfirm.ru>
Thu, 25 Jul 2002 14:27:35 +0600


Hi, all!!!
The tree tag has an attribute - urlparam
urlparam=string
A query string which is included in the expanding and contracting widget links. This attribute is for
advanced usage only.

I'm having problems with it. The problem is when I do:

<dtml-let rubrik_id="''">
<dtml-tree id=rubrik_id branches_expr="sql_list_rubriks(rubrik_id=rubrik_id)" urlparam="rubrik_id=<dtml-var rubrik_id>"
single="true" >
<b><dtml-var rubrik_name></b>
</dtml-tree>
</dtml-let>

the rendered URL is:
http://host:9673/rubrik/show_tree?rubrik_id=<dtml-var%20rubrik_id>&tree-e=eJyLVneEACcD73RbdR0FdUNDM/VYAEOKBWE#116

And I see the  <dtml-var%20rubrik_id>   unless the value of  rubrik_id.
What can I do to get the value of parameter,
and how to use  urlparam with a few parametars?

-- 
Best regards,                          www.uralfirm.ru
Dmitry Matveev                         mailto:matveev@uralfirm.ru