Announcement Announcement Module
Collapse
No announcement yet.
Spring ajax request limitations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring ajax request limitations

    I have made a spring web flow application thats loads 5 url in different fragments(div's) of same jsp page using JQuery load() method.

    It works fine if it is till 5 urls.But when I hit more than five url on the same page,one of the urls does not load, even though it calls flow in backend,but the div does not render.

    Is there a limit to the maximum number of ajax flow that can be called in a spring web flow application?


    I have used Ajax.Updater of prototype js for loading the url's,but it has the same problem.
    Can anybody help ?????

  • #2
    In the webflow-config.xml you can configure the maximum number of flow executons (by default is 5):

    Code:
    <webflow:flow-executor id="flowExecutor" >
    		<webflow:flow-execution-listeners>
    			<webflow:listener ref="facesContextListener"/>
    		</webflow:flow-execution-listeners>
    		<webflow:flow-execution-repository max-executions="25" />
    	</webflow:flow-executor>

    Comment


    • #3
      My problem got solved when i set the default property of redirection to false.


      <webflow:flow-executor id="flowExecutor" flow-registry="flowRegistry">
      <webflow:flow-execution-attributes>
      <webflow:always-redirect-on-pause value="false"/>
      </webflow:flow-execution-attributes>
      </webflow:flow-executor>

      it is now working nicely

      Thnx asnyways

      Comment

      Working...
      X