Databases Reference
In-Depth Information
In the following hierarchy, we can see that
blafplus
and
fusion-base
are the two skins
that inherit the features of the simple skin.
blafplus
again gets extended to
blafplus-
medium
and
blafplus-rich
.
fusion
and
fusion-simple
are derived from
fusion-
base
that gets extended to the
fusionFx
and
fusionFx-simple
skins.
Simple
blafplus
fusion-base
blafplus-medium
fusion-simple
fusion
blafplus-rich
fusionFx-simple
fusionFx
Time for action - adding a skin file to the application
Let us see how to create a skin file for our
EmpDirectoryApplication
applicaion.
1.
Right-click on the
WEB-INF
folder from the
ViewController
project of your
EmpDirectoryApplication
applicaion, and select the
New
opion from the
Context
menu.
2.
From the
General
secion in the
New Gallery
window, select the
File
item.
3.
Provide the
File Name
value of the file as
trinidad-skins.xml
and click
on the
Ok
buton to create the ile.
4.
Add the following entry in the
.xml
file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin">
<skin>
<id>empSkin.desktop</id>
<family>empSkin</family>
<extends>fusionFx-simple.desktop</extends>
<render-kit-id>org.apache.myfaces.trinidad.desktop
</render-kit-id>
<style-sheet-name>skins/empSkin/empSkin.css</style-sheet-
name>
<bundle-name>myBundle</bundle-name>
</skin>
</skins>
Search WWH ::
Custom Search