Components load fail in a page view

Hi, I have a cart-view page with an add form and a list inside to see what I have inserted.
I use the ajax page on the cart-view and after inserting a new record from the form the page does not reload completely, I explain better it loads only the part relating to the cart-view the other two components load only AFTER HAVING REFRESH OF THE PAGE .
If I disable the ajax, the cart-view page is no longer reloaded but the list of records inserted.


Try redirect to previous page after insert in the add page

Hello and thanks for the reply, for any redirection to the properties of the add page I have to disable the ajax.
Wanting to insert some code in the page event in the section after add always returns the same error “Undefined variable: record”.