3 Feb
2003
3 Feb
'03
3:17 p.m.
Samir Mishra wrote:
I can't get some of the things mentioned in the ZB to work as expected. If anyone could tell me what I'm doing wrong, that'll be much appreciated.
1. The following code - <dtml-tree> <dtml-var getId> </dtml-tree> gives me nothing! Even in root, when I'm logged in as site manager, & when I'm an authenticated user, when the script has a proxy role of Manager, when it doesn't, etc. According to ZB (pg. 124) I should see a display of an HTML tree. What am I missing?
My guess: You have created a DTML Document, but it should be a DTML Method!!! A DTML Document has its own namespace etc, a DTML Method uses the current one. So: Create the code in a DTML Method and should work... -mj