Cerrar dialogo desde código

Cuando damos clic en el botón Guardar al guardar desde el Controller queremos cerrar el dialogo.

Controller

PrimeFaces current = PrimeFaces.current();
current.executeScript("PF('zonaagenteDialog').hide();");

o mediante jmoordbutils

xhtml

Last updated

Was this helpful?