Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-2

[configuration] [1.2RC1] ConfigurationDynaBean may implement java.util.Map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.2
    • None
    • None
    • Operating System: other
      Platform: Other

    • 37486

    Description

      ConfigurationDynaBean says
      "It also implements a Map interface so that it can be used in JSP 2.0 Expression
      Language expressions."

      Map interface is not implemented (in 1.2RC1) and ConfigurationDynaBean cannot be
      used from EL :
      <c:out value="${configuration['un.test']}"/> :
      Unable to find a value for "un.test" in object of class
      "org.apache.commons.configuration.beanutils.ConfigurationDynaBean" using
      operator "[]" (null)

      Simply implementing Map.get(Object) may solve the problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndeloof nicolas de loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: