Spring Roo: How to Get Roo to Use a Custom Banner When Generating Web Pages
Tumaini Kilimba
Greenhorn
Joined: Nov 15, 2006
Posts: 16
posted
0
Dear Sirs et Madames,
I am currently experimenting with Roo, and one thing I would like to change is the banner that Roo creates on the Roo-generated web interface, I would like to use a custom banner. I know I can do this by going to the '**webapp/images**' folder of the generated Roo project and replace the banner image with one of my own, but I want to know if I can make Roo *GENERATE* the web application with my banner from the start (Roo must get this image from somewhere on my local file system, if I knew where, is it possible to just replace it?), rather than me having to go and fiddle with image files in the generated project...
You can change the template that gets created for the header and point it to a different image.
Personally, I wouldn't try to go into the Roo code and change that, because what happens when you upgrade to a newer version of Roo, because you changed stuff in Roo, it will be overwritten with the new stuff.
A simple template change is in one place and done very quickly.