I'm using Sonata for a specific need in a project.
Indeed, I made a JS interface (with ExtJS) which has only one page, and every button just call an AJAX request to display something. So the page is never reloaded. The URL is like www.blob.com/blob
A button is supposed to call the Sonata Admin Interface via AJAX call. It works, the Admin Interface is displayed inside a, ExtJS container.
But then, when I click on a button inside the Admin Interface (like the add button), it redirects me to the Sonata Admin URL, like www.blob.com/admin/dashboard/list/add, etc.
So then, I want all the buttons in to the Sonata Admin Interface to use AJAX instead of refreshing pages.
I found out this answer How to use Ajax within Sonata Admin forms? which is pretty nice. But I can't barely understand it, and it seems to fit only for a specific need.
Does anyone know a solution that could be "easy" to handle. Because for the moment the only solution I see is to edit all the AdminClass and Controllers of my Bundle (~50).
Thanks, with the hope I've been clear as possible.