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