[Zope] tree tag woes continue :S

Chris Withers chrisw@nipltd.com
Sat, 19 Aug 2000 17:41:16 +0100


Chris Withers wrote:
> okay, assuming it it a good idea, the tree to be replaced is:
> 
>   <dtml-tree branches="postingValues">
>     ...show stuff here...
>   </dtml-tree>

My latest attempt is:

  <dtml-in postingValues>
    <dtml-var id>-<dtml-var title><BR>
    <dtml-tree sequence-item branches="postingValues">   
	<dtml-var id>-<dtml-var title><BR>
    </dtml-tree>   
  </dtml-in>

which gives me the following weird error:

Error Type: AttributeError
Error Value: 'tuple' object has no attribute 'append'

any ideas?

Chris

PS: Traceback:
Traceback (innermost last):
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 179, in
publish
  File E:\Zope\2179E4~1.6\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 165, in
publish
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: manage_postings)
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 102, in
call_object
    (Object: manage_postings)
  File E:\Zope\2179E4~1.6\lib\python\App\special_dtml.py, line 120, in
__call__
    (Object: manage_postings)
    (Info:
E:\Zope\2.1.6\lib\python\Products\Squishdot/Squishdot_manage_postings.dtml)
  File E:\Zope\2179E4~1.6\lib\python\DocumentTemplate\DT_String.py, line
502, in __call__
    (Object: manage_postings)
  File E:\Zope\2179E4~1.6\lib\python\DocumentTemplate\DT_In.py, line
691, in renderwob
    (Object: postingValues)
  File E:\Zope\2179E4~1.6\lib\python\TreeDisplay\TreeTag.py, line 154,
in render
    (Object: sequence-item)
  File E:\Zope\2179E4~1.6\lib\python\TreeDisplay\TreeTag.py, line 222,
in tpRender
  File E:\Zope\2179E4~1.6\lib\python\TreeDisplay\TreeTag.py, line 543,
in apply_diff
    (Info: ([None, (['966520543', []],)], ['966520928', '966520893',
'966520543']))
AttributeError: (see above)