19 Mar
2005
19 Mar
'05
7:05 p.m.
Ulla Theiss wrote at 2005-3-19 11:07 +0100:
how can I pass a parameter (namely the REQUEST-Object) to the branches-method of dtml-tree?
You really should leave the complex "dtml-tree" and go for "ZTUtils"...
I tried the following:
<dtml-tree branches="getBranches(REQUEST)">
Usually, you can access "REQUEST" via acquisition (e.g. "self.REQUEST" in a method or "REQUEST" in a DTML object or "request" in a ZPT). No need to pass it explicitely. -- Dieter