HY!
<rich:message id="msgEmailInput" for="emailInput" showDetail="true" ajaxRendered="false" >
<f:facet id="facetEmailError" name="errorMarker">
<script>
alert(#{rich:element('msgEmailInput')}.detail());
</script>
</f:facet>
</rich:message>
I would like to get (and using later) the error messages from rich:message.
I try to query the following way: #{rich:element('msgEmailInput')}.detail() , but it does not work.
Any idea for this?
Thank you so much!