As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
does anybody know how we can override
org.alfresco.repo.jscript.ScriptNode?
I am using Alfresco Community 5.1.g
Thanks in advance
What do you mean by overide, Do you want to get the object of NodeRef?
sorry I was not precise enough.
I would like to extend this class OR to create my own version of it. I didn't find it in spring configuration. Do you know how we can achieve this?
Regards
In eclipse , if you press ctrl+shift+T, and enter the class name it will allow you to open the source code.
You can extend it easily..
Apart from this, If you would like to create your own javascript object,Below link will help you in same.
JavaScript Root Objects | Alfresco Documentation
I would like to replace the implementation of ScriptNode with my implementation, so my implementation should be used by Alfresco after that.