The web client is configured using an XML format proprietary to Alfresco. At a high level, there are two types of configuration elements in the XML. The first type uses an evaluator for condition-specific configuration. The second includes unconditional configuration elements. This section contains one table for each type of configuration element. The tables include what they do and where they can be found out of the box.
This table lists elements that are conditional. Conditional elements use one of the three evaluators: node-type, aspect-name, or string-compare. For example, the out of the box Languages configuration element is shown here:
<config evaluator="string-compare" condition="Languages"> <!-- the list of available language files --> <languages> <language locale="en_US">English</language> </languages> </config>
The following table lists conditional configuration elements:
Evaluator |
Condition |
What it does |
Where it is defined |
---|---|---|---|
[node type] |
Configuration for nodes matching a specific node type. Typically used for property sheets, but can be used for any conditional configuration based on node type. |
| |
[aspect name] |
Configuration for nodes that have a matching aspect applied. Typically used for property sheets, but can be used for any conditional configuration based on aspect name. |
| |
Server |
Commented out by default; specifies host name and port when using Alfresco behind a proxy. |
| |
string-compare |
Languages |
Lists the languages in the login drop-down. |
|
string-compare |
Views |
View selections available in the web client ("list", "details", and "icons") |
|
string-compare |
Node Event Listeners |
Lists JSF-managed beans that the |
|
string-compare |
Command Servlet |
Lists the available servlet command processors. |
|
string-compare |
Advanced Search |
Configures types, folders, aspects, and properties listed on the advanced search page. |
|
string-compare |
Dashboards |
Dashboard layouts and dashlets shown on My Alfresco. |
|
string-compare |
Sidebar |
Lists available sidebar plug-ins ("Navigator", "Shelf", and "Open Search"). |
|
Space Wizards |
Lists the folder types that show up when you use the Advanced Space Wizard. |
| |
string-compare |
Action Wizards |
Lists the types, aspects, and transformers to show in drop-downs when configuring a rule action. Also used to configure condition handler and action handler classes. |
|
string-compare |
|
Lists the icon images to show as choices when a user creates a folder. |
|
string-compare |
|
Specifies the high-level "forums" icon. |
|
string-compare |
|
Specifies the "forum" icon. |
|
string-compare |
|
Specifies the icons related to different post types. |
|
Some web client config elements do not use an evaluator. They are just children of alfresco-config/config
. For example, this is the start of the out of the box configuration element for wcm
:
The following table shows the unconditional web client configuration elements:
Configuration Element |
What it does |
Where it is defined |
---|---|---|
Controls various client settings such as the error page, the login page, the number of items you see in certain lists, the default location the user sees on login, and the from email address. |
| |
Configures navigational overrides based on node-type, aspect-name, or other evaluators. |
| |
Defines multi-step dialogs, or wizards. See Chapter 5. |
| |
Defines dialog icon, JSP, and managed beans. |
| |
Defines UI Actions and action groups. See "Action Groups" in this Appendix. |
Various | |
Defines the workflows available from within a web project, default view size, XForms widgets, link checking polling frequency, and deployment progress polling frequency. |
|