AnsweredAssumed Answered

how to get the name of the space from any .java file

Question asked by unknown-user on Jul 13, 2006
Latest reply on Aug 1, 2006 by unknown-user
Hello there. I have a problem :)

What i want to do is to get the name of the space where the document is created. I know how to do it from a file which has a NavigatorBean, then with a getNavigation().getName(). But what i have in my .java file is only the NodeService, and a NodeRef.

Any ideas of how can i get the name of the space i am in?

This class is executed in a rule, so when this rule is executed, and this class does what it has to, at this point there must be a way of knowing the name of the space.

Thanks for any help.