Hi Moritz,

SaveHandlerImpl would be one possibility, another might be to use a custom 
Dialog implementation. Another possibility might be to use the observation 
module to react to changes.

Custom Dialog and SaveHandlerImpl are quite similar. In both cases you will 
override the save() or postSave() methods to do some extra stuff.
By using observation, you can write a task that reacts to node-changes. In this 
way it does not matter how the changes get into the JCR workspace (whether by 
and editor saving in a dialog, or via import or via activation, whatever), the 
observation module will trigger your task, which can then read the content and 
update other parts of the site.

Regards from Vienna,

Richard


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Moritz Rebbert (via Magnolia Forums)
Gesendet: Donnerstag, 24. Jänner 2013 11:45
An: Magnolia User List
Betreff: [magnolia-user] [backend] Extend SaveHandlerImpl

On creating or editing a websites content node, a would like to create and 
update other nodes somewhere else in the hierarchy. 
It might be necessary to create a whole new subpath of nodes.

For example while editing /A/X/Y/Z, i would also edit /B/X/Y/Z

And while creating /A/X/Y/Z, i would like to create /Y/Z under pre existing 
/B/X,

I think, extending the [code]SaveHandlerImpl[/code] would be the way to go. 

Are there any restrictions I have to bear in mind?

I'm using magnolia 4.4.9. (Community Edition).

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=45458fd4-480d-4279-88d1-b4baec5d5c18


----------------------------------------------------------------
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]>
----------------------------------------------------------------





----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to