Details
-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
-
None
-
None
Description
Since we added the possibility to execute actions with paragraphs (currently only with freemarker paragraphs, see MAGNOLIA-1462 and MAGNOLIA-1383), it would seem useful and nice if those actions would be scriptable. We could store these scripts in the repository, and like for storing templates in the repository, and like for MAGNOLIA-1482, this would allow their edition within Magnolia and their activation too.
Using JSR-223 seems like the most reasonable approach since that would give us pluggable scripting engines, thus leaving the langage choice to the script author.
http://jcp.org/en/jsr/detail?id=223
https://scripting.dev.java.net/
Checklists
Acceptance criteria