Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Posts: 17346
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic