Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1987

Ajax response never get completed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.3.4, 1.3.5
    • None
    • wicket
    • None
    • Tested on Firefox 2.0.0.18, 3.0.4 and Internet Explorer 7

    Description

      When you click on the link provided by the sample page you could see that a pdf is displayed but in the ajax debug window the ajax response never get completed.
      It remains in "Invoking pre-call handler(s)".

      When the link is clicked, a specific QueryStringUrlCodingStrategy is called that does the following:
      public IRequestTarget decode(RequestParameters requestParameters)

      { //ContextRelativeResource context = new ContextRelativeResource("test.pdf"); PackageResource resource = PackageResource.get(this.getClass(), "test.pdf"); IResourceStream resourceStream = resource.getResourceStream(); ResourceStreamRequestTarget rsrt = new ResourceStreamRequestTarget(resourceStream); return rsrt; }

      I don't know if it's really a bug, but for instance, if you register several mouse icon pointer for the different ajax call you could get that the waiting state of the mouse is preserved after the action is completed.

      Attachments

        1. mvn-quickstart.zip
          6.57 MB
          Emanuele Gesuato

        Issue Links

          Activity

            People

              ivaynberg Igor Vaynberg
              egesuato Emanuele Gesuato
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: