8 Apr
2005
8 Apr
'05
9:57 a.m.
Hello, I want to use dtml-tree. I want to populate this tree using an external method that like this one: getChildren(parent_id) => [child, child, child, ......] where "parent_id" is a string and each child is a node (python object). My problem is what kind of object must each node be, in order for the dtml-tree to work properly... The dtml-method is like this (example, hierarchy of links): <dtml-tree id=LINK braches_expr="getChildren(LINK)"> <a href="<dtml-var LINK>"><dtml-var TITLE></a> </dtml-tree> I tried a dictionary, but i cannot retrieve the "LINK" in the branches_expr. I made a class in the External Method with attributes "LINK" and "TITLE", but i get unauthorized exceptions... Thanks for any help, Vangelis
7668
Age (days ago)
7668
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vangelis Mihalopoulos