J F W

making web application programming easier is possible

HOW TO : WEBAPP

tiles2-defs.xml

The tiles configuration can be divided into two macro categories: the architectural and the page.
Here is an example of the architectural category:

In the previous example, all the skeleton pages have been defined. We have also defined the common pages (like the menu and the footer).

Here is an example of the pages category:

We have logically divided the previous definitions between the pages used by JFW and the pages used by the specific application (project).
Note that the value of property name on tag definition is the one used in the struts.xml (or in a file include in the struts.xml) when we want to redirect or show a page at the end of the elaboration of an action (or when a validation error occur).