Trinidad has several global-tuning options. Tuning is available for optimizing performance, unveiling debug information, making pages accessible, and localizing the application. There are two files involved in tuning Trinidad: web.xml
and trinidad-config.xml
. Both of these files reside in the WEB-INF
directory of the project.
The trinidad-config.xml
is a configuration file specific to Trinidad. It should be placed in the WEB-INF
directory, under the root of a deployment file (JAR, WAR, or EAR). A minimal trinidad-config.xml
looks like this:
<?xml version="1.0"?> <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config"> </trinidad-config>
Inside the<trinidad-config>
element, several configuration elements can be added in a random order. They are covered in the rest of this section.
Although there is one single trinidad-config.xml
file for a single application, it is possible to have different settings for (groups of...