[ http://issues.apache.org/jira/browse/VELTOOLS-63?page=all ]
Claude Brisson updated VELTOOLS-63: ----------------------------------- Attachment: WebappLoader.patch > webapp.resource.loader.extension property that gives a mandatory extension to > add to resource names > --------------------------------------------------------------------------------------------------- > > Key: VELTOOLS-63 > URL: http://issues.apache.org/jira/browse/VELTOOLS-63 > Project: VelocityTools > Issue Type: New Feature > Components: VelocityView > Affects Versions: 1.3 > Reporter: Claude Brisson > Priority: Minor > Attachments: WebappLoader.patch > > > This is another proposal. > A new "webapp.resource.loader.extension" property that gives a mandatory > extension meant to be added to resource names if not already present. > The typical use-case is when you want to name your templates like > "foo.html.vtl" or "foo.js.vtl", without the ".vtl" to be visible in the URLs. > It is a quite convenient convention since it allows one to store templates > and regular files in the same directory tree. > Needless to say, it is fully backwards compatible. > This new extension could also be added to other resource loaders, but it > would be more complex to factorize, and use-cases are less clear. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]