Author: abelevich
Date: 2007-07-20 11:04:15 -0400 (Fri, 20 Jul 2007)
New Revision: 1739
Added:
trunk/sandbox/samples/rich-message-demo/src/main/webapp/image/passed.gif
Modified:
trunk/sandbox/samples/rich-message-demo/src/main/webapp/css/app.css
trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml
Log:
extended demo app
Modified: trunk/sandbox/samples/rich-message-demo/src/main/webapp/css/app.css
===================================================================
--- trunk/sandbox/samples/rich-message-demo/src/main/webapp/css/app.css 2007-07-20
14:41:00 UTC (rev 1738)
+++ trunk/sandbox/samples/rich-message-demo/src/main/webapp/css/app.css 2007-07-20
15:04:15 UTC (rev 1739)
@@ -3,5 +3,9 @@
}
.rich-message-marker{
- vertical-align: text-bottom;
+
+}
+
+.rich-message{
+
}
\ No newline at end of file
Added: trunk/sandbox/samples/rich-message-demo/src/main/webapp/image/passed.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/sandbox/samples/rich-message-demo/src/main/webapp/image/passed.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml
===================================================================
---
trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml 2007-07-20
14:41:00 UTC (rev 1738)
+++
trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml 2007-07-20
15:04:15 UTC (rev 1739)
@@ -22,7 +22,7 @@
</h:selectOneMenu>
<h:commandButton value="submit"></h:commandButton>
- <r:message for="select" tooltip="true"
showDetail="false" showSummary="true"
markerLocation="left">
+ <r:message for="select" tooltip="true"
showDetail="false" showSummary="true" markerLocation="right"
passedLabel="No Error">
<f:facet name="errorMarker">
<h:graphicImage url="/image/error.gif"/>
</f:facet>
@@ -35,6 +35,9 @@
<f:facet name="warnMarker">
<h:graphicImage url="/image/warn.gif"/>
</f:facet>
+ <f:facet name="passedMarker">
+ <h:graphicImage url="/image/passed.gif"/>
+ </f:facet>
</r:message>
</h:form>