[Zope] non-persistent publishable objects

Karl Anderson kra at monkey.org
Wed Jan 28 18:05:52 EST 2004


nwingfield at che-llp.com writes:

> Is it possible to create *non-persistent* publishable objects with product
> code?

Yes.

> I'm finding Zope unwilling to publish a generic Python object.

The object cannot be completely generic - at the least, it needs
an index_html or __str__ method to publish, and it has to satisfy
security before it can be traversed to.

Parsed XML does this, with a persistent head object, a persistent
single XML object, and transient wrapped node objects that are
created on the fly, and published with full ZMI access.

-- 
Karl Anderson      kra at monkey.org           http://monkey.org/~kra/



More information about the Zope mailing list