Uploaded image for project: 'Tiles Request'
  1. Tiles Request
  2. TREQ-17

Implement a Strategy pattern for locating ApplicationResources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nlebas Nicolas LE BAS
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: