Tapestry
  1. Tapestry
  2. TAPESTRY-1580

AJAX response to update a component doesn't include the updated component's root tag

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Framework
    • Labels:
      None

      Description

      Currently a component scheduled to be updated in an ajax request via @EventListener gets only its body replaced.
      This leads to somewhat counterintuitive behaviour.
      E.g.: Firefox accepts the xml-snippets with multiple root elements, that can result from this, IE 6 does not.

      Since it's easy to work around that, it could also fixed by documenting it if it's hard to do otherwise.

        Activity

        Hide
        Marcus Schulte added a comment -

        Wouldn't dare to change this now. A clear statement in the responsebuilder docs should be sufficient to prevent anybody from falling into the same trap.

        Show
        Marcus Schulte added a comment - Wouldn't dare to change this now. A clear statement in the responsebuilder docs should be sufficient to prevent anybody from falling into the same trap.
        Hide
        Marcus Schulte added a comment -

        Is fixed in 4.1.2. Somehow, I must have worked with a wrong jar.

        Show
        Marcus Schulte added a comment - Is fixed in 4.1.2. Somehow, I must have worked with a wrong jar.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marcus Schulte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development