Re: [Zope] iterating through ids and getting their properties
29 Sep
2000
29 Sep
'00
9:51 p.m.
Aaron Payne writes:
I have a list of ids which correspond to instances in a folder. I want to iterate through the list and display their properties. I get an attribute error when rendering the page.
<dtml-in pendlist> <dtml-call "REQUEST.set('theContainer', _.getattr(transactionInstances, _['sequence-item']))"> .... Error Type: AttributeError Error Value:
Your "pendlist" contains an element that is *NOT* an id in "transactionInstances". It is the empty string (or consists only of spaces). That is why your "Error Value" does not show anything. Dieter
9319
Age (days ago)
9319
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer