My page has one list and its going another page by redirecting to see details of record. Now i want to open a dialog instead of going another page.
Is it possible to reuse next managed bean for that dialog? Also i want that dialog handle its own actions by itself (don't want to add events of next page to my master page).
The sample code below works for visuality (adds components) but it doesn't work for the actions.
<p:dialog id="dialog" widgetVar="dialogWidget" >
<ui:include src="#{nextPage.xhtml}" />
</p:dialog>