Take a look at the doGet() method of the PageServlet for the template-choosing logic.
- Dave On Sun, Apr 10, 2011 at 4:17 PM, Daniel Ruan <[email protected]> wrote: > I turned on the debug but didn't see any error messages. > > We had our own theme. The templates we created for permalink and wegblog > etc. worked fine. > > As a test, I changed the name of the tagsIndex template to a non-existing > file name and got an exception "Couldn't load template > file" from ThemeManagerImpl. This means the XML config is not a problem as > it did cause Roller to load the file. > > What is the class that chooses the template file at run time based on the > URL? > > Thanks, > Daniel > > I don't see any problem with your tagsIndex part of of theme.xml. Are >> you working with a build-in Roller theme or something new? See >> anything in the logs? >> >> If you turn on DEBUG logging for the rendering system you might find >> some clues about what is going wrong. Add this to your >> roller-custom.properties to turn on DEBUG for rendering: >> >> log4j.logger.org.apache.roller.weblogger.ui.rendering=DEBUG >> >> - Dave >> >
