cancel
Showing results for 
Search instead for 
Did you mean: 

convert java array to java script array

gaurav
Champ in-the-making
Champ in-the-making
Hello All,

I was wondering if anyone can help me with converting java array to java script using mozilla rhino. I am getting org.alfresco.service.cmr.repository.Path[] array and I want to iterate through the array and get individual paths. Any help is appreciated.

Thanks,
Gaurav
1 REPLY 1

pmonks
Star Contributor
Star Contributor
There is a small amount of documentation on this at http://wiki.alfresco.com/wiki/JavaScript_API#Native_Java_API_Access.  I would also suggest looking at the Rhino documentation for further details.

Cheers,
Peter