[opencms-dev] Catch onsave event in I_CmsEventListener
Chuck Mysak
chuck.mysak at gmail.com
Mon Feb 15 13:09:57 CET 2010
Hello list,
I'm trying to catch the save-and-exit event from the editor but from what I
see in I_CmsEventListener, this can't be done so easily.
I tried EVENT_RESOURCES_AND_PROPERTIES_MODIFIED, but I get the temporary
(prefixed with ~) resource, that is created at the moment of editing, and
deleted afterwards. I also tried to catch the EVENT_RESOURCE_CREATED event,
and then I ended up dubling the two events (the temporary resource is first
created and then modified).
What I'm trying to achieve is a log of all the resources modified in the
offline project, after the user saves from the editor.
Thank you in advance
Regards,
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100215/c4755e49/attachment.htm>
More information about the opencms-dev
mailing list