public void openDynamic(String outcome) {
            getFacesContext().getAttributes().put(Constants.DialogFramework.OUTCOME, outcome);
        }
Opens a view in a dynamic dialog.

@param outcome the logical outcome used to resolve the navigation case.
primefaces/src/main/java/org/primefaces/PrimeFaces.java