So far I have not had any success with anything else than writing
special methods in my Classes that converts the objects to
dictionaries before passing them to the zpt or Script(Python) in
question.
But that feels like a very awkward way of doing things, and it
makeas it *very* difficult for Zope to be a nice player with non-
zope objects.
FWIW, what you've created in Zope 3 terms is a "view". You might
feel more comfortable using Five and Zope 3 views if you're not
comfortable with your current strategy because it provides a pattern
for doing just this.
- C
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )