I have a page with an ajaxLink() that replaces a part of the pace with a form it loads. In the form, I have created an ajax button that will replace again the form with the output of the update action.
Is there a way to get it to work?
I have already taken care to assign unique id’s to the links and the buttons.
I’ve noticed that the way ajaxlinks and ajaxbuttons work is that they have an unique id, and then there’s a piece of jquery code at the beginning of the page that assigns the onclick behavior to the node selecting it by id.
But this part of the code is only generated in the containing page, which can’t know that later I will load a piece of page that contains other buttons.