I need to register an user and after that I would like to call a <rich:popupPanel>
for example to show the error or successful message with an icon.
<rich:popupPanel id="popup" modal="false" autosized="true" resizeable="false">
<f:facet name="header">
<h:outputText value="Simple popup panel" />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#"
onclick="#{rich:component('popup')}.hide(); return false;">
X
</h:outputLink>
</f:facet>
<p>Any content might be inside this panel.</p>
</rich:popupPanel>
How do I do that after the validation of the register process in my controller ?
I could call a <h:message>
, but I think a popupPanel with some icon and the status message would be more appropriate to the user.