RE: [Zope] How do I make an external object persistent?
Moved to zope-dev
-----Original Message----- From: Andres Corrada [mailto:andres@corrada.com] Sent: Tuesday, November 23, 1999 11:56 AM To: zope@zope.org Subject: [Zope] How do I make an external object persistent?
Hi, I'm new to Zope. I have classes that I want to use in Zope without making them Products. How can I inject the Zope namespace with an object so it remains persistent? For example, a Form object that renders and validates a form.
For an object to exist persistently in zope, its class must subclass Persistence.Persistent. You can, however, utilize other classes in external methods. Note that the *instances* of these classes will not persist across external method calls. -Michel
Michel Pelletier wrote:
Moved to zope-dev
From: Andres Corrada [mailto:andres@corrada.com] I'm new to Zope. I have classes that I want to use in Zope without making them Products. How can I inject the Zope namespace with an object so it remains persistent? For example, a Form object that renders and validates a form.
[snips Michel's reply] Note that ZFormulator, a Zope Product/Framework that I'm working on is nearing its initial release. It does form rendering (at least field rendering) and form validation. You might want to leverage your stuff on top of that. :) Regards, Martijn
participants (2)
-
Martijn Faassen -
Michel Pelletier