I am not sure whether I have to post the issue here or in Wicket mailing
list. So I am posting it in both the places.

I have a wicket portlet that runs on jetspeed portal which makes a Ajax
Request.
When I first add the portlet to the page, all the ajax requests are working
fine.
Once I visit some other pages in the portal and come back to the wicket
portlet, all the ajax requests are giving a response code of 404. The issue
is happening only in firefox.

The wicket ajax debugger shows the following message
ERROR: Received Ajax response with code: 404

Once I remove the portlet and add it again to the page, the ajax requests
are working fine. Also I am giving the the .psml file directly in the
address bar, the ajax requests are working fine. But when jetspeed creates
the URL with its own navigational state parameters, then all the ajax
requests stopped working.

On further digging in, I found out that in ContainerValve the following
condition is true and the 404 response is sent back to the browser for Ajax
Request.

if (window != null && page.getFragmentById(window.getId().toString()) ==
null)
{
  // target window doesn't exists anymore or the target page is not
accessible (anymore)
  request.getResponse().sendError(HttpServletResponse.SC_NOT_FOUND);
  return;
}


Any help regarding on how to fix this is really appreciated.

Thanks
Prasanna
-- 
View this message in context: 
http://www.nabble.com/Wicket-Portlet-in-Jetspeed-fails-during-Ajax-Request-in-Firefox-tp18523006p18523006.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to