ResourceURL rsURL = res.createResourceURL();
rsURL.setResourceID(getResourceIdFromNode(node, navId));
json.put("getNodeURL", rsURL.toString());
if (node.getPageRef() != null) {
NavigationResource resource = new NavigationResource(node);
NodeURL url = Util.getPortalRequestContext().createURL(NodeURL.TYPE, resource);
json.put("actionLink", url.setAjax(false).toString());
}
JSONArray childs = new JSONArray();