I am using PrimeFaces, which in turn uses [JQuery UI](http://jqueryui.com/) for not only the functionality but its CSS styling framework. This question arises from my ignorance about the CSS framework, and I have been unable to find any examples or documentation to guide me.

What I want to do is use the Theme's style for error messages for my own panel. Something like this:

```
<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 looks similar to the error message you would get when using . Any pointers much appreciated.