ajax - Spring.remoting.submitForm and SWF's on-entry -


I work on a project using Spring Webflow and Spring JS.

I have read on that

So I have declared that when the page is displayed and on-entry is executed every time In the SWF the -reender is used. A view-state, when the web page is first displayed and expression to evaluate an infection:

  & lt; View-state ID = "whatever" model = "mymould" view = "MyView" & gt; & Lt; On-listing & gt; & Lt; Rate Expression = "Controller. MapColonOnline ()" /> & Lt; / On-entry & gt; & Lt; = "Transition to myTransition" = "whatever" & gt; & Lt; Rate expression = "controller.mapaccollege (jax)" /> & Lt; Render pieces = "myFragment" /> & Lt; / Transit & gt; & Lt; / Visual state & gt;  

In the webpage, there is a JavaScript function that sends the Ajax request to load some data. It has been declared as the following:

  var params = {}; Paramage ["Pieces"] = "MyFragment"; Paramage ["_ eventId"] = "Mitration"; Spring.remoting.submitForm ("", "formid", params);  

My problem is that the method methodToCallOnEntry () is executed when the piece myFragment is presented after each Ajax request. I want it to be executed only when the page is displayed for the first time, in my view-state gateway. Do you have any information about it?

I think your problem comes from your transition tag due to the "to" feature due to the spring viewest Reloading ", so deleting" de "should solve your problem.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -