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

The order in which zones are added to the MultiZoneUpdate should be honored on the client side, to allow nested zones to be updated all in a single request

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.1
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      In this way, the developer can choose the order in which the zones are rendered:
      this can be useful when a component rendering phase creates a rendering variable or stores values in request/session attributes, and the last zone uses them to render itself.

      TODO:
      Actually, the above method store the "child" in the map before the "parent" , so the map will be filled in a stack-like order, and the MultiZoneUpdateEventResultProcessor will render in that order.
      The return order(and eventually if the MultiZoneUpdateEventResultProcessor will revert it) must be choosen by tapestry developers and clearly defined in documentation.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              gmicali Giulio Micali
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: