At 05:38 PM 8/3/00 -0600, Bill Anderson wrote:
>"Phillip J. Eby" wrote:
>> PersistentSheetProviders can do what you want - *but* there is one
>> drawback.  PSP's have no concept of a sheet schema, so you have to add the
>> sheet and set up its schema in code for *each instance*. 
>Rats. :/

I forgot to mention, but you can also create your own sheet provider
(possibly derived from PSP) that creates sheets of the kind you want, and
since all providers are able to receive the _objectAdding() event, you can
have it happen as soon as the object knows it's being added, without even
waiting for transaction commit.  You would have to write such a provider in
Python directly, however.

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to