Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1400

GroovyRowResult should implement Map to access properties in JSPs (EL/JSTL)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-6
    • 1.0-RC-1
    • None
    • None

    Description

      GroovyRowResult should implement the Map interface and delegates all Map methods to the internal LinkedHashMap. This will make GroovyRowResults properties accessible in JSPs (with EL and JSTL) which can only work with Lists, Maps, Beans or arrays.

      Attachments

        1. GroovyRowResult-implements-Map.patch
          3 kB
          Guido Schoepp
        2. GroovyRowResult-implements-Map-allow-null.patch
          4 kB
          Guido Schoepp
        3. GroovyRowResultTest.groovy
          3 kB
          Guido Schoepp

        Activity

          People

            guillaume Guillaume Sauthier
            gus27 Guido Schoepp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: