Hi there Is there a way to somehow pass the magnolia context to my event listener class? or rebuild it?
I saw that when using a command instead of an event listener i have the context in the execute() method but then, how do I get the path from where the command was triggered? What I want to do is to save the full name (not user name) of the editor who last edited the page to meta data. The listener/command gets triggered on these events: NODE_ADDED, PROPERTY_ADDED, PROPERTY_CHANGED, PROPERTY_REMOVED I need to somehow be able to getUser() from the context and save information to meta data of the page which was edited last. Cheers, Chris. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=89e75fb7-5073-4973-aac3-0e32c7a730e4 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
