my dog learned polymorphism*
The moose likes Spring and the fly likes Spring Roo: How to Get Roo to Use a Custom Banner When Generating Web Pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Roo: How to Get Roo to Use a Custom Banner When Generating Web Pages" Watch "Spring Roo: How to Get Roo to Use a Custom Banner When Generating Web Pages" New topic
Author

Spring Roo: How to Get Roo to Use a Custom Banner When Generating Web Pages

Tumaini Kilimba
Greenhorn

Joined: Nov 15, 2006
Posts: 16
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...

Any help appreciated.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring Roo: How to Get Roo to Use a Custom Banner When Generating Web Pages