Stupid newbie "Tree Tag" Question
Hi All, I'm trying to create navigation widgets in DTML documents, and am having *MAJOR* problems getting the tree tag to work. I've gone back to the simplest case to try to figure out what's going on, which is the construct: - <dtml-tree> <dtml-var getId> </dtml-tree> However, this returns *NO* results - if I fire it and look at the source of the rendered page, where I expect a tree I see: - <TABLE CELLSPACING="0"> </TABLE> I can see that the <dtml-var getId> works *outside* the tree, but isn't firing *inside* it. Initially, I thought that this might be a permissions issue, but this would seem to suggest not. All input gratefully accepted... TIA, Cheers, PhilK
Hi All, In article <VA.000003ea.044600f0@xfr.co.uk>, Philip Kilner wrote:
I'm trying to create navigation widgets in DTML documents, and am having *MAJOR* problems getting the tree tag to work. I've gone back to the simplest case to try to figure out what's going on, which is the construct: -
<dtml-tree>
<dtml-var getId>
</dtml-tree>
However, this returns *NO* results
For the curious and for the list archives, this question was answered off-list by David Burton (Thanks, David!). The answer was that I should have my construct in a DTML Method, as opposed to Document, since /document/ *has* no children for the tree tag to iterate over...needless to say, the bit of the Zope book I was reading said "Method", but I managed to read it as document! D'Oh! Cheers, PhilK
participants (1)
-
Philip Kilner