The tools navigation region
We saw above that left-most on the Management Console page is the region called tools, which is used for navigating to the administrative tool that will be displayed in the central tool region of the page.
The files that describe the workings of the tools component are stored here: tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\console\console-tools.*
.
The tools component is quite simple. The list of available tools was queried from the sitedata
root-scoped object in the console.js
file when preparing the context information for the page. This information is then passed along to the JavaScript controller file for this component, console-tools.get.js
, which extracted the information and put it into an array as part of the model.
The FreeMarker layout file console-tools.get.html.ftl
for the tools component simply formats the list of available tools for display:
<div id="${args.htmlid}-body" class="tool tools-link"> <h2...