Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2334

Optimize JavaScript generation for FormInjector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.11
    • 5.0.12
    • tapestry-core
    • None

    Description

      Most of the time, the JSON Object passed to Tapestry.initializeFormInjectors() contains just a single property, "element".

      initializeFormInjectors() should be changed so that if a value is just a string, it is treated the same as a JSON object with just an element property. This would be more succinct and readable.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: