You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Nicolas Le Bas (JIRA)" <ji...@apache.org> on 2012/08/13 15:30:37 UTC
[jira] [Created] (TREQ-17) Implement a Strategy pattern for
locating ApplicationResources
Nicolas Le Bas created TREQ-17:
----------------------------------
Summary: Implement a Strategy pattern for locating ApplicationResources
Key: TREQ-17
URL: https://issues.apache.org/jira/browse/TREQ-17
Project: Tiles Request
Issue Type: Improvement
Affects Versions: 1.0.1
Reporter: Nicolas Le Bas
Tiles Request is not extensible enough when it comes to resource loading. We have some code to get resources from the ServletContext, from the Classpath, from Spring, but all of these are excluding each other because of the way it is implemented, and in some situation the code is duplicated.
We should use a new interface to locate ApplicationResources, and the ApplicationContext could delegate getResources() to a collection of ResourceLocators.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira