First page Back Continue Last page Graphics

Configuring Skins: trinidad-config.xml and trinidad-skins.xml


Configuring Skins

A trinidad-config.xml file must be placed in the WEB-INF directory of your Web application. This file has a very simple XML structure that relies on the JSF EL for flexibility. Each configurable property can be defined either inline with a static, constant value, or with a JSF EL expression that is reevaluated on each request.

You define your skins in the trinidad-skins.xml file. You can define the following attributes of a skin:

ID: Each skin must have an ID. This is a unique identifier for a skin.

Family: Each skin must have a family. A skin belongs to a family and you set it in the trinidad-config.xml file under <skin-family>.

Style sheet name: This is your skin’s style sheet name URL.