JSF : dynamically loaded page commandButton not working
I have a page that contains a PrimeFaces accordion panel, in each panel is a PrimeFaces datatable. Below the datatable is a button "Add study" for example and when this button is click I want to dynamically load a page into a <h:panelGroup> using a <ui:include> . When the button is being click I want to dynamically change the src value from the <ui:include> so that my page is loaded in the <h:panelGroup> . Now the problem is the following: My managed bean is set to @RequestScoped and when I click on my button nothing is being rendered. If I set my managed bean to @SessionScoped the <h