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

AJAX Zone updating doesn't work correctly in IE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.11
    • 5.0.13
    • tapestry-core
    • None
    • T5.0.11, IE6.0.2900, FF2.0.0.6, Tomcat5.5.9
      OS: Windows XP

    Description

      The attached page demonstrates that if an actionlink that causes a zone refresh via AJAX is part of the refreshed zone itself, it only works on alternate clicks in IE6.

      Each time the link is rendered as part of the zone update it causes a full page refresh when clicked, which means it can do a zone update the following click. It works fine in Firefox though. (Josh Canfield reports it works okay in IE7)

      Additionally, if I return a block instead of a zone the second click in the link inside causes the ComponentEventException shown below, instead of the full page refresh.

      org.apache.tapestry.runtime.ComponentEventException - A component event handler method returned the value org.apache.tapestry.internal.structure.BlockImpl@d26103. Return type org.apache.tapestry.internal.structure.BlockImpl can not be handled.
      Configured return types are java.lang.Class, java.lang.String, java.net.URL, org.apache.tapestry.Link, org.apache.tapestry.StreamResponse,
      org.apache.tapestry.runtime.Component.

      Attachments

        1. BasicAJAX.java
          0.5 kB
          Andy Blower
        2. BasicAJAX.tml
          0.6 kB
          Andy Blower

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              andyb Andy Blower
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: