[BLOSSOM-14] Make possible to set a SaveHandler for a dialog. Created: 15/Sep/10 Updated: 06/Dec/14 Resolved: 23/Dec/10 |
|
| Status: | Closed |
| Project: | Blossom |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Danilo Ghirardelli | Assignee: | Tobias Mattsson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | saveHandler | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Patch included: |
Yes
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
It would be nice to have the possibility to set a saveHandler class also for Blossom-instantiated paragraphs. A few notes:
|
| Comments |
| Comment by Tobias Mattsson [ 20/Dec/10 ] |
|
Thanks Danilo for your extensive research on this. I'm implementing this feature now. It will be used like this: @InitSaveHandler It follows the design of Springs @InitBinder for initializing a WebDataBinder. Feedback is more than welcome! |
| Comment by Danilo Ghirardelli [ 20/Dec/10 ] |
|
I suppose this will be used directly in the controller, no? Do you plan to take a look into |
| Comment by Tobias Mattsson [ 21/Dec/10 ] |
|
The @InitSaveHandler method can provide a save handler in any way it wants. In most cases that would mean instantiating a specific class and then do configuration of the instance specifically for its dialog/paragraph. Blossom needs to support Magnolia 4.1+ so it will still have the workaround for |
| Comment by Jan Haderka [ 06/Dec/14 ] |
|
Bulk close of old resolved issues. |