Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-119

Allow indexed properties container resolution in expressions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1
    • Labels:
      None

      Description

      When a class exposes a "pseudo" indexed property container, JEXL should be able to introspect and expose it.
      For instance, given a class exposing the methods 'void setProperty(String name, Object value)' and 'Object getProperty(String name)' and an instance 'o' exposed through the context, JEXL should allow the expressions 'o.property.first' to execute 'o.getProperty("first")' and the expression 'o.property.first = "ONE"' to execute 'o.setProperty("first", "ONE").

        Attachments

          Activity

            People

            • Assignee:
              henrib Henri Biestro
              Reporter:
              henrib Henri Biestro
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: