Hi!!!!, I were using this code in richfaces 3.3.3.Final. But this code no running in richfaces 4.0.0.Final. I not know.
<rich:panel styleClass="mError mTexto" >
<rich:messages id="messagesError" showSummary="true" layout="table" />
</rich:panel>
jajaja....
the solution is
<a4j:outputPanel ajaxRendered="true" >
<rich:messages id="messagesError" showSummary="false" layout="table" showDetail="true" />
</a4j:outputPanel>