-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Spring Roo 1.1 Cookbook
A static view in a Spring Web MVC application is a view for which you don't explicitly create a controller class. We saw earlier that the Spring Web MVC application scaffolded by Roo configures static views using the <view-controller> element of Spring's mvc schema. The static views don't have an explicit controller, but behind the scenes Spring's built-in ParameterizableViewController is used for rendering static views. Refer to the Auto-generating Spring MVC controllers and JSPX views from JPA entities recipe for details on pre-configured static views in the Roo generated web application.
In this recipe, we will look at the web mvc install view command of Roo, which creates a static view.
Delete the contents of ch04-recipe sub-directory inside the C:\roo-cookbook directory.
Copy the ch04_web-app.roo script into the ch04-recipe directory.
Execute the ch04_web-app.roo script that creates the flight-app Roo project, sets...
Change the font size
Change margin width
Change background colour