Hello, I currently use Velocity templates within my Wicket 1.3 application, and I have been using VelocityPanel.forTemplateResource to locate my resources passing it the actual file URL of the velocity template. However, I now have a need to find the velocity templates in the same way the HTML files are found. In other words, I need to find it based on the default algorithm of:
1. [sourcePath]/name[style][locale].[extension] 2. [sourcePath]/name[locale].[extension] 3. [sourcePath]/name[style].[extension] 4. [sourcePath]/name.[extension] 5. [classPath]/name[style][locale].[extension] 6. [classPath]/name[locale].[extension] 7. [classPath]/name[style].[extension] 8. [classPath]/name.[extension] Each velocity template is named the same as the Page or Panel it is used with. How would I go about loading the velocity template to accomplish this? Thanks for your help, Andrew
