Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1700

Changes to partial markup rendering mean that the critical elementId JSON key is no longer set in the response when injecting content into a Form

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.3
    • 5.3
    • tapestry-core
    • None

    Description

      In 5.2.6, the Block returned by other components' onAction events triggered by onInject does not get rendered right away, giving onInject a chance to add another PartialMarkupRendererFilter.

      In 5.3, the filters are called shortly after the Block is returned from onAction, before the triggerContextEvent call in onInject returns. The filter added afterwards is not called.

      This results in the elements returned by FormInjector during ajax requests not having ids assigned to them.

      Attachments

        1. forminjector53.txt
          1.0 kB
          Adam

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: