You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ba...@apache.org on 2006/03/30 18:06:58 UTC
svn commit: r390169 -
/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/ifMessage.jsp
Author: baranda
Date: Thu Mar 30 08:06:57 2006
New Revision: 390169
URL: http://svn.apache.org/viewcvs?rev=390169&view=rev
Log:
Added header and footer to the IfMessage example
Modified:
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/ifMessage.jsp
Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/ifMessage.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/ifMessage.jsp?rev=390169&r1=390168&r2=390169&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/ifMessage.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/ifMessage.jsp Thu Mar 30 08:06:57 2006
@@ -2,7 +2,7 @@
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
-
+<html>
<!--
/*
* Copyright 2006 The Apache Software Foundation.
@@ -20,26 +20,43 @@
* limitations under the License.
*/
//-->
+<%@include file="inc/head.inc" %>
+<body>
<f:view>
<h:form>
- <s:ifMessage for="item,item2">
+
+ <s:ifMessage for="item,item2">
<h:outputText value="Error!!!!"/>
</s:ifMessage>
+
+ <br/>
<br/>
- <br/>
- <h:message for="item"/>
+
+ <h:message for="item"/>
<h:inputText id="item" required="true"/>
+
+ <br/>
<br/>
- <br/>
- <h:message for="item2"/>
+
+ <h:message for="item2"/>
<h:inputText id="item2" required="true"/>
+
+ <br/>
<br/>
- <br/>
- <h:message for="item3"/>
+
+ <h:message for="item3"/>
<h:inputText id="item3" required="true"/>
+
+ <br/>
<br/>
- <br/>
- <h:commandButton value="Submit Me"/>
+
+ <h:commandButton value="Submit Me"/>
</h:form>
-</f:view>
\ No newline at end of file
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>
\ No newline at end of file