You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <de...@velocity.apache.org> on 2007/01/02 13:12:27 UTC
[jira] Resolved: (VELTOOLS-63) webapp.resource.loader.extension
property that gives a mandatory extension to add to resource names
[ http://issues.apache.org/jira/browse/VELTOOLS-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson resolved VELTOOLS-63.
------------------------------------
Resolution: Invalid
Fix Version/s: 1.3
Contribution posted to the wiki.
> 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: Velocity Tools
> Issue Type: New Feature
> Components: VelocityView
> Affects Versions: 1.3
> Reporter: Claude Brisson
> Priority: Minor
> Fix For: 1.3
>
> Attachments: TemplateNameFilter.java, 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org