Okay, my aim here is to effectively have batching with trees.

Why? well because a tree with over a thousand items at the root is
pretty hefty to download to a browser, not to mentioned pretty
antisocial to navigate and use.

My idea, as you may have seen from recent posts, was to do a dtml-in
over the first set of children so I could do the batching there, and
then do a dtml-tree for each one of them to get the tree as before.

Is this a good or a bad idea?
Is having lots of dtml-tree's on the same page acceptable or not?

okay, assuming it it a good idea, the tree to be replaced is:

  <dtml-tree branches="postingValues">   
    ...show stuff here...
  </dtml-tree>   

I'm currently trying:

  <dtml-in postingValues>
    <dtml-with "_.getitem('sequence-item',0)">
    <dtml-tree branches="postingValues">   
      ...do stuff here...
    </dtml-tree>   
    </dtml-with>
  </dtml-in>

but this appears to just render the original tree once for each child.

Any ideas how I should be doing this?

cheers,

Chris

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to