Ajax response never get completed
---------------------------------

                 Key: WICKET-1987
                 URL: https://issues.apache.org/jira/browse/WICKET-1987
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.5, 1.3.4
         Environment: Tested on Firefox 2.0.0.18, 3.0.4 and Internet Explorer 7
            Reporter: Emanuele Gesuato
            Priority: Minor


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.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to