cancel
Showing results for 
Search instead for 
Did you mean: 

'GroovyPresentationScriptProcessor'

deas0815
Star Contributor
Star Contributor
Hallo everybody,

I was wondering whether (and how) one would/should implement a "GroovyPresentationScriptProcessor" so one would use
groovy instead of JavaScript or both (choosing the interpreter dependent on the extension of the script).

I guess I could implement that myself, but I'd like to avoid  reinventing the wheel.

I stepped across "groovyProcessor.amp" at http://forge.alfresco.com/frs/?group_id=105. The project looks
close to what I want but seems orphaned.

Is this approach (groovyProcessor.amp and the idea in general) wrong ?

Suggestions/Hints how/where to continue are appreciated.

regards
Andreas
20 REPLIES 20

alexander
Champ in-the-making
Champ in-the-making
You are right - accessing ScriptNode wrapper may be different from accessing node properties and content directly so doing both it the same time is not recommended.

I was thinking to create some thin method wrapper on the NodeRef class using groovy MetaClass and stop using ScriptNode.

Will appreciate thoughts and help here.

Thanks
Sasha
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.