AnsweredAssumed Answered

Getting node from 'roothome' in controller

Question asked by sam4alf on Oct 10, 2011
Latest reply on Oct 10, 2011 by sam4alf
Hello all,

I have a controller file (.js) and I want to get node using NodeRef inside this controller. I tried something like:

var curNode = roothome.getNodeFromString(nodeRef);

but this doesn't work. There is no function like "getNodeFromString". Do you have any idea on where I can get a list of methods for "roothome"?