[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
WEB-INF/tiles-defs.xml
The WEB-INF/tiles-defs.xml file contains the following settings.
site.layout
- Main definition that specifies the general structure of
all pages. The layout is based on a common template file, /layouts/common.jsp. The definition contains values for
template variables shared by all page definitions.
- Value
- title—Common title of all pages.
- header—Page fragment displaying the header section
of the pages.
- menu—Page fragment displaying the menu bar.
- footer—Page fragment displaying the footer section
of the pages.
- body—Page fragment displaying the content of the
pages. The default setting is empty and should be overwritten by individual
page definitions.
- color—Color scheme used the by pages. A color scheme
consists of a style sheet (style_sheets/color.css) and a set of images (stored in images/color). The predefined color schemes are blue and green.
- menuTag—Action name of the current page. The menu
bar code uses this tag to highlight the action associated with the
current page.
site.layout.nomenu
- Provides an extension of the main layout that defines
a version of the page without a menu bar.
.*.page
- Provides the definition of portal pages. These pages are
used for forwards in the action-mappings section of the struts-config.xml file. The page definitions extend one
of the common layouts and define the value of the body variable as
appropriate.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]