I use PrimeFaces, which in turn uses JQuery UI for not only the functionality, but also its CSS style structure. This question arises because of my ignorance of the CSS structure, and I was not able to find any examples or documentation that would help me.
What I want to do is use the theme style for error messages for my own dashboard. Something like that:
<p:panel rendered="#{bean.someError}" styleClass="?? what goes here ??"> <h:outputText styleClass="?? what goes here ??" value="Error! A parameter to this page is wrong so it can't be rendered. This is probably because you used a stale bookmark." /> </p:panel>
I want it to look the same as the error message you received when using. Any pointers were highly appreciated.
jquery-ui css3 primefaces
Alanobject
source share