You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mk...@apache.org on 2006/02/24 19:03:54 UTC

svn commit: r380748 - in /myfaces/tomahawk/trunk/examples/simple/src/main/webapp: div.jsp home.jsp

Author: mkienenb
Date: Fri Feb 24 10:03:52 2006
New Revision: 380748

URL: http://svn.apache.org/viewcvs?rev=380748&view=rev
Log:
Added simple div rendering examples.

Added:
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/div.jsp   (with props)
Modified:
    myfaces/tomahawk/trunk/examples/simple/src/main/webapp/home.jsp

Added: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/div.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/div.jsp?rev=380748&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/div.jsp (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/div.jsp Fri Feb 24 10:03:52 2006
@@ -0,0 +1,81 @@
+<%@ page import="java.util.Random"%>
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ 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/tomahawk" prefix="t"%>
+<html>
+
+<!--
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<%@include file="inc/head.inc" %>
+
+<body>
+
+<f:view>
+
+    <f:loadBundle basename="org.apache.myfaces.examples.resource.example_messages" var="example_messages"/>
+
+    <h:panelGroup id="body">
+
+        <h:messages id="messageList" showSummary="true" showDetail="true" />
+
+        <h:form>
+			<t:div id="setTypeHeader1" rendered="#{true}"  >
+				<tr>
+			    	<td  >
+			      	<h:outputLabel value="# {true}" />
+					</td>
+					<td width="5%" />
+			  	</tr>
+			</t:div>
+			<t:div id="setTypeHeader2" rendered="true"  >
+				<tr>
+			    	<td  >
+			      	<h:outputLabel value="true" />
+					</td>
+					<td width="5%" />
+			  	</tr>
+			</t:div>
+			<t:div id="setTypeHeader3" rendered="#{false}"  >
+				<tr>
+			    	<td  >
+			      	<h:outputLabel value="# {false}" />
+					</td>
+					<td width="5%" />
+			  	</tr>
+			</t:div>
+			<t:div id="setTypeHeader4" rendered="false"  >
+				<tr>
+			    	<td  >
+			      	<h:outputLabel value="false" />
+					</td>
+					<td width="5%" />
+			  	</tr>
+			</t:div>
+        </h:form>
+
+    </h:panelGroup>
+
+</f:view>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</body>
+
+</html>

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/div.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/div.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: myfaces/tomahawk/trunk/examples/simple/src/main/webapp/home.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/home.jsp?rev=380748&r1=380747&r2=380748&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/webapp/home.jsp (original)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/webapp/home.jsp Fri Feb 24 10:03:52 2006
@@ -28,6 +28,7 @@
                 <h:outputLink value="validate.jsf" ><f:verbatim>Validations</f:verbatim></h:outputLink>
                 <h:outputLink value="aliasBean.jsf" ><f:verbatim>Alias Bean</f:verbatim></h:outputLink>
                 <h:outputLink value="buffer.jsf" ><f:verbatim>Buffer</f:verbatim></h:outputLink>
+                <h:outputLink value="div.jsf" ><f:verbatim>Div</f:verbatim></h:outputLink>
                 <h:outputText value="Data Table"/>
                 <h:panelGrid style="padding-left:25px">
                     <h:outputLink value="masterDetail.jsf" ><f:verbatim>Master-Detail</f:verbatim></h:outputLink>