Custom script processor implementation

We should now have a high-level understanding that the web script framework in Alfresco supports JavaScript-backed web scripts and uses the RhinoScript processor to execute JavaScript-backed web scripts. In the out-of-the-box web script framework implementation as provided in spring-webscripts-*.jar, the script processor implementation is org.springframework.extensions.webscripts.processor.JSScriptProcessor and is registered with the script processor registry. However, in Alfresco, there is an extended implementation to register the script processor with the web script processor registry in the web script framework in Alfresco. Let's try to understand how the JavaScript processor is configured with the web ...

Get Learning Alfresco Web Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.