Last updated 6 years ago
Was this helpful?
Agregamos el css
Creamos un boton para invocarlo
Indicamos el css en el dialogo
Si le quitamos el styleClass
Se mostraria
<p:commandButton value="Show Dialog" onclick="PF('dlg').show();" type="button" />
<p:dialog header="Dialog" widgetVar="dlg" dynamic="true" styleClass="customDialog"> <h:outputText value="This content is loaded lazy." /> </p:dialog>
<p:dialog header="Dialog" widgetVar="dlg" dynamic="true" > <h:outputText value="This content is loaded lazy." /> </p:dialog>
.customDialog { color : white; } .customDialog .ui-dialog-titlebar.ui-widget-header { background: white !important; }