O'Reilly logo

Spring Roo 1.1 Cookbook by Ashish Sarin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding or modifying themes generated by Roo

A theme is a collection of CSS and image files that define the overall look and feel of the web application. Spring Web MVC framework provides built-in support for defining and applying themes. In the Auto-generating Spring MVC controllers and JSPX views from JPA entities recipes, we touched upon themes support in Roo-generated Spring Web MVC applications. In this recipe, we'll see in detail how to add new themes to Roo-generated Spring Web MVC applications and to modify default themes installed by Roo.

In this recipe, we'll make the following modifications to the Roo-generated flight-app web application:

  • Add a new custom theme
  • Modify existing themes to show different background color of menu headings, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required