Confirm Form Resubmission everytime I refresh

Confirm Form Resubmission everytime I refresh

  

I have created Database table as read only on a separate module. 

Used accelerators to create the List and Detail pages.

Added a Save button that calls a Public Server Action from another module to save the record.

Whenever it gets back to my list page and I refresh the page I get a Confirm Form Resubmission alert, and if I click continue it saves the record I had previously saved again. 

Any ideas on why this might be happening?


Thanks

Solution

Is the button's method Submit? Try Ajax submit.

And how are you directing to the list page after calling the save action?

Solution

João Melo wrote:

Is the button's method Submit? Try Ajax submit.

And how are you directing to the list page after calling the save action?

That fixes it. I was just used to the accelerators that I did not notice that it set the Save as an ajax submit. 

For your second question I am redirecting by using a destination at the end of the Save screen action.


Thanks a lot for your help!