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

Allow indexed properties container resolution in expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: