opening a dtml-tree to a specific node
Has anyone worked out how to open a dtml-tree to a specific node? I see what needs to be done but was hoping someone had already made it work. Part 1: Change tree display to a specific state. Construct a cookie representing the desired state, using either TreeTag.encode_seq or TreeTag.encode_str With my "tree" frame as a target, display the frame's usual URL, with a ?state-s argument equal to the constructed cookie. Part 2: Simulate the clicking of the desired link by displaying its URL with my "content" frame as a target. In my case, I actually don't want to specify the entire state of the tree, just make sure that a desired node is visible, so I may have to use a variation that uses ?state-e instead of ?state-s. -- --- Mitchell
participants (1)
-
Mitchell L Model