My first thought would be to use an override to doValidate or doExecute in PRAddCommand.
John

On Mon, Mar 30, 2009 at 3:03 AM, Lukas Renggli <renggli@gmail.com> wrote:
> Yes, it was incorrect question. I mean the moment right after object's got
> it's aspects values after user filled the form and pressed 'Saved'...
> I mostly interested this moment right after new object was added. But it's
> quite obvious to implement.

You can override #write:using: in any model object to intercept the
writing of values.

At the moment there is no message though that is sent to the object
when all values are written. I guess, as you suggested, a new memento
could do this.

> I'm affraid it's still not clear... So, the whole task is to notify admin of
> the site (by email) when a new question (as an instance of PRCase) was
> added (for example).

This sounds more like a logging facility. PRImagePersistency already
writes a log of all changes on the site. Maybe this is of any help for
you?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki