Author: ayanul
Date: 2008-05-27 06:51:39 -0400 (Tue, 27 May 2008)
New Revision: 8774
Modified:
trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp
Log:
add rich:messages
Modified: trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp 2008-05-27 10:22:41
UTC (rev 8773)
+++ trunk/test-applications/jsp/src/main/webapp/pages/Rich/Rich.jsp 2008-05-27 10:51:39
UTC (rev 8774)
@@ -29,7 +29,28 @@
<div id="divOpthID" align="right" style="z-index:
200">
<jsp:include page="/pages/RichMenu/RichMenu.jsp"/>
</div>
- <h:messages showDetail="true"
showSummary="true"></h:messages>
+ <rich:messages id="richMessagesID" ajaxRendered="true"
showSummary="true">
+ <f:facet name="errorMarker">
+ <h:graphicImage url="/pics/error.gif" />
+ </f:facet>
+
+ <f:facet name="fatalMarker">
+ <h:graphicImage url="/pics/fatal.gif" />
+ </f:facet>
+
+ <f:facet name="infoMarker">
+ <h:graphicImage url="/pics/info.gif" />
+ </f:facet>
+
+ <f:facet name="warnMarker">
+ <h:graphicImage url="/pics/warn.gif" />
+ </f:facet>
+
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/pics/passed.gif" />
+ </f:facet>
+ </rich:messages>
+ <h:messages id="hMessagesID" showDetail="true"
showSummary="true"></h:messages>
<h:panelGrid id="richGridID" columns="1"
width="100%" rendered="true">
<h:panelGroup rendered="#{option.reComponent}">
Show replies by date