convert java array to java script array
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2008 08:55 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2008 01:42 AM
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
Cheers,
Peter
