Main composition

Written by: | Posted on:

While resolving the test problems in the last code, let's look at what we get by doing a

mvn jetty:run

The application has a header on top, a footer in the bottom, and a menu on the left hand side. This is in line with the Composite View pattern described in the Tiles tutorial:Composite View. To recompose this layout, see src/main/webapp/WEB-INF/layouts/layouts.jspx. In there you find that what we want to work with is , but working with this file will let you get the basic layout you want. The different attributes are found in layouts.xml, and they reference their respective files in /WEB-INF/views, so that should get you started making a nice template

Image Image

Father, husband, software developer, musician and photographer.


Get to know what I'm up to

© 2020 Niklas Saers Contact Me