Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1238

Improvements for CustomJXPathBinding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.5
    • 2.1.9, 2.2
    • Blocks: Forms
    • None
    • Operating System: All
      Platform: All
    • 30693

    Description

      2 improvements:

      1. Custom bindings get a service manager when they implement Serviceable.
      2. Relative JXPath context is not created. Instead, the current context, and the
      xpath query are passed to the custom binding. This allows bindings to set values
      for objects that are null (whereas a getRelativeContext() will throw an
      exception). Custom bindings now can do a
      context.createPathAndSetValue(getXpath(), ...) to set a value that was null
      before setting it.

      Attachments

        Activity

          People

            jbq Jean-Baptiste Quenot
            b.molenkamp@bizzdesign.nl Bart Molenkamp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: