The skin service of GateIn 3.5 manages various types of skins. This service is responsible for discovering and deploying the skins into the portal.
This section consists of the following topics:
GateIn 3.5 automatically discovers web archives that contain a
file descriptor for skins (
WEB-INF/gatein-resources.xml). This file is
responsible for specifying the portal, portlet and window decorators to be deployed into the
The full schema can be found in the lib directory:
Here is an example where a skin (MySkin) with its CSS location is defined, and a few window decorator skins are specified:
<!-- window style -->
Because of the Right-To-Left support, all CSS files need to be
retrieved through a Servlet filter and the web application needs to be
configured to activate this filter. This is already done for the
eXoResources.war web application which contains the default skin.
Any new web applications containing skinning CSS files will
need to have the following added to their
The display-name element also needs to
be specified in the
web.xml for the skinning service to work properly
with the web application.