Hi, in Blossom 2 we were able to use an @InitSaveHandler to enrich the data 
entered in to properties of a component by the user. The annotation has been 
removed in Magnolia 5, the SaveHandler functionality marked deprecated without 
a clear replacement mentioned. I've been trying for several hours now to find 
out how to get the same result in Magnolia 5, currently being stuck with 
actions. Besides my attempts currently already being four times the amount of 
code I would have used for a simple @InitSaveHandler, it's driving me insane 
with dozens of links between factories, builders, definitions, and actual 
implementations, and bottom line: I just can't figure out how to get it to 
work. Unfortunately your documentation doesn't seem to address the question at 
all. The only thing I was able to find was 
https://wiki.magnolia-cms.com/display/DEV/Concept+-+Dialog+Migration+from+4.5.x+to+5.x#Concept-DialogMigrationfrom4.5.xto5.x-Savehandlerreplacement,
 but the problem is that it doesn't seem to work like this for Blossom.

So please, could you kindly give an example how to achieve the same result I 
would've gotten with an @InitSaveHandler annotation.

Details that should ideally be fulfilled:
1. Solution should be applicable to Blossom 3 and Magnolia 5.
2. It should be compatible with a component class (@Template) having several 
@TabFactory methods spread across several classes (this and super and super 
super etc.). This means if possible it should work without a @DialogFactory, 
which would make the @TabFactories dysfunctional.
3. It must be possible to call the inherited implementation (I have to run the 
default save handler first and then add some more data to the component node).

Thank you very much for your help.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=0612f2d8-6e20-4436-a3c9-8e25a64ffb97


----------------------------------------------------------------
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: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to