}
final String javascriptFile =
isJavascriptDebug() ? Constants.JQUERY_SRC_JS : Constants.JQUERY_MIN_JS;
// html template
final XhtmlTemplate xhtml =
new XhtmlTemplate(objectAdapter.titleString(), getServletRequest(), javascriptFile,
Constants.ISIS_REST_SUPPORT_JS);
xhtml.appendToBody(asDivIsisSession());
xhtml.appendToBody(resourcesDiv());
// object div
final Element objectDiv = div(HtmlClass.OBJECT);
xhtml.appendToBody(objectDiv);
// title & Oid
final Element objectSpecsDiv = asDivTableObjectDetails(objectAdapter);
xhtml.appendToDiv(objectDiv, objectSpecsDiv);
// xhtml.appendToBody(div);
// properties (in line table)
final Element propertiesTableEl = asDivTableProperties(getSession(), objectAdapter);
xhtml.appendToDiv(objectDiv, propertiesTableEl);
// xhtml.appendToBody(propertiesTableEl);
// collections
final Element collectionsDivEl = asDivTableCollections(getSession(), objectAdapter);
xhtml.appendToDiv(objectDiv, collectionsDivEl);
// xhtml.appendToBody(collectionsDivEl);
// actions
final Element actionsDivEl = asDivTableActions(getSession(), objectAdapter);
xhtml.appendToDiv(objectDiv, actionsDivEl);
// xhtml.appendToBody(actionsDivEl);
return xhtml.toXML();
}