Dialog Framework - Basic

An external page can be displayed in a dynamically generated dialog on runtime.

<h:form>
    <p:commandButton value="View" icon="pi pi-home" action="#{dfView.viewCars}" />
    <p:commandButton value="Options" icon="pi pi-home" action="#{dfView.viewCarsCustomized}" />
</h:form>