My first thought would be to use an override to doValidate or doExecute in
On Mon, Mar 30, 2009 at 3:03 AM, Lukas Renggli <renggli(a)gmail.com> wrote:
> Yes, it was incorrect question. I mean the moment right after
> it's aspects values after user filled the form and pressed 'Saved'...
> I mostly interested this moment right after new object was added. But
> 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
> 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
SmallWiki, Magritte, Pier and Related Tools ...