Announcement Announcement Module
Collapse
No announcement yet.
Ajax call outside the flow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ajax call outside the flow

    I have a page handled by MVC contoller, let's say it URL is /a/b/c.

    This page performs an ajax call to another one handled by MVC controller also, it's URL is /d/e/f. This one returns a piece of HTML that should be used in the calling page.

    When I access the first page the ajax call works perfectly fine.

    The problematic scenario is when I go to the first page inside a flow using a view-state with view attribute set to view="externalRedirect:contextRelative:/a/b/c". The ajax call will not work anymore. I can see the http request is going out and the server response is 200 OK. The Content-Length is set to a non-zero value. However the response body is empty.

    I have different ajax calls within the flow and they work ok. It looks like the problem is only with ajax calls on pages in view states with externalRedirect.

    Do I miss something? Any help would be appreciated.

    Mateusz
Working...
X