Changing the Layout

If desired, you may extend this application and change the look and feel and layout of the pages. This section describes some of the common layout extensions and customizations. The OJB Console leverages the Tiles mechanism in Struts to faciliate the modification of the layout and controls. You may wish to read more about these technologies before modifying the JSPs.

Color Theme

Currently, the color theme is defined in the JSP found at the location: src/web/includes/globals.jsp. This JSP is included by all JSPs in the web application. By changing the color definitions in this file, you can asily change the color theme of the application.

Styles

The cascading stylesheet is located in src/web/layout/style.jsp. Any style in this stylesheet can be modified and further styles can be defined. This file is a JSP.

Layout

You can modify the overall layout of the page simply by modifying the layout tile found in src/web/layout/primary-layout.jsp. Every JSP references this tile for its overall layout.

The top banner can be changed by modifying the tile in web/layout/components/banner.jsp.

The footer can be changed by modifying the tile in web/layout/components/footer.jsp.


Copyright © 2003 Alexander Bibighaus et al. All rights Reserved.