p:commandButton or p:button with actionListener and outcome?
问题 I'm using PrimeFaces and have a Save button, basically a maintenanceTask is sent to my page, I edit it within here, then press Save and it should be saved to the database and then redirected to the original page. I have a working Save method, but can't seem to get both the navigation and method to fire off. <p:commandButton value="#{message.commonButtonSave}" title="#{message.commonSaveTooltip}" rendered="#{maintenanceTaskEnquiryBean.screenMode == 'editTasks'}" disabled="#