DisplayTag
  1. DisplayTag
  2. DISPL-481

Loading properties from different package

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.0, 1.1, 1.1.1
    • Fix Version/s: 2.0
    • Component/s: Configuration
    • Labels:
      None

      Description

      It is currently not possible to have displaytag load its resource bundles from a location other than the root package of a web app. Many developers package resource files in a sub-package such as com.acme.resources. It would be extremely useful to be able to package displaytag.properties files in the same location as other resources.

        Activity

        Hide
        Michael Osipov added a comment -
        1. you can patch displaytag yourself for your request within 60 seconds
        2. how is displaytag able to know which is your package without have a config file at a default place telling it?? this is a paradoxon!
        Show
        Michael Osipov added a comment - 1. you can patch displaytag yourself for your request within 60 seconds 2. how is displaytag able to know which is your package without have a config file at a default place telling it?? this is a paradoxon!
        Hide
        Xavier Dury added a comment -
        Come on, we don't need another configuration file, web.xml would be just fine for specifying the properties to use (just like jstl/fmt:message does). See DISPL-188.
        Show
        Xavier Dury added a comment - Come on, we don't need another configuration file, web.xml would be just fine for specifying the properties to use (just like jstl/fmt:message does). See DISPL-188 .
        Hide
        fabrizio giustina added a comment -
        closing as duplicated of DISPL-188
        Show
        fabrizio giustina added a comment - closing as duplicated of DISPL-188

          People

          • Reporter:
            Igal Corcos
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: