<dtml-in> with <sequence> problems
i have this external method called Imap_methods. Why zope refused to pass '666668@domain.com' string to my method. Is there something wrong with my syntax. <dtml-in Imap_methods('666668@domain.com')> ... do my stuff here .... (question 2) </dtml-in> results following error message Error Type: KeyError Error Value: Imap_methods('666668@domain.com') Traceback (innermost last): File C:\Boothill\lib\python\ZPublisher\Publish.py, line 214, in publish_module File C:\Boothill\lib\python\ZPublisher\Publish.py, line 179, in publish File C:\Boothill\lib\python\Zope\__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File C:\Boothill\lib\python\ZPublisher\Publish.py, line 165, in publish File C:\Boothill\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: email_headers) File C:\Boothill\lib\python\ZPublisher\Publish.py, line 102, in call_object (Object: email_headers) File C:\Boothill\lib\python\OFS\DTMLDocument.py, line 166, in __call__ (Object: email_headers) File C:\Boothill\lib\python\DocumentTemplate\DT_String.py, line 502, in __call__ (Object: email_headers) File C:\Boothill\lib\python\DocumentTemplate\DT_In.py, line 630, in renderwob (Object: Imap_methods('666668@domain.com')) KeyError: (see above) question 2: Whats is best way to return following tuples from that method tuple formation: [index,[from,to,subject,date]] and sequence them to table between <TD> tags. jarkkov
participants (2)
-
Chris Withers -
Jarkko Veijalainen