I am using <rich:notify/> for displaying error/notification messages and used below code inside Popup Window
<rich:notify stayTime="2000"
rendered="#{flash.warningMessage.length() > 0 }"
styleClass=".rf-ntf-cnt" showShadow="false" sticky="true">
<f:facet name="detail">
<rich:panel id="notifyWarningMessage"
style="background-color:#ffebe8; padding:15px 0 15px 10px; border-radius:0 0 0 0">
<h:graphicImage
value="../resources/images/Button-Warning-icon.png" height="20"
width="20" />
Warning: #{flash.warningMessage}
</rich:panel>
</f:facet>
</rich:notify>
</rich:notify>
Its working fine but its not disappearing from JSF page.
Can anyone tell me What will be the issue ?
You set sticky="true", that means that the message will stay up until you close it.