args[5] = _iState.getLastNodeExpandedImage();
args[6] = Bundle.getString("Tags_TreeAltTextExpand", null);
args[7] = Bundle.getString("Tags_TreeAltTextCollapse", null);
srs.writeFeature(sr, writer, CoreScriptFeature.TREE_INIT, false, false, args);
AjaxUrlInfo ajaxInfo = URLRewriterService.getAjaxUrl(pageContext.getServletContext(),request,treeRoot);
if (ajaxInfo.getCommandPrefix() != null) {
args = new Object[2];
args[0] = tre.getObjectName();
args[1] = ajaxInfo.getCommandPrefix();
srs.writeFeature(sr,writer, CoreScriptFeature.AJAX_PREFIX, false,false,args);
}
if (ajaxInfo.getAjaxParameter() != null) {
args = new Object[2];
args[0] = tre.getObjectName();
args[1] = ajaxInfo.getAjaxParameter();
srs.writeFeature(sr,writer, CoreScriptFeature.AJAX_PARAM, false,false,args);
}
tre.setTreeRenderState(_trs);
tre.setInheritableState(_iState);