From: Chris Withers [EMAIL PROTECTED]
To: Phil Harris [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: vrijdag 18 augustus 2000 14:44
Subject: [Zope] Workaround and a tree and dtml-in problem
Phil Harris wrote:
Why isn't _ available in the tree tag?
The workaround is to wrap it in a
dtml-let posting = "_.getitem('sequence-item',0)"
But now I'm confused.
dtml-tree posting branches="postingValues"
should produce the same results as:
It doesn't :(
A guess (I never quite understood this either) Isn't the difference :
- first example the 'postingValues' in the context of your 'posting' object
- the second the 'postingValues' in the context of the default objectlist -
Why am I doing this you may ask? Well, I want to do batching at the top
level and, AFAIK, dtml-in doesn't support this :(
if so, you might want to wrap the postingValues as well in a
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -