[richfaces-svn-commits] JBoss Rich Faces SVN: r13560 - in trunk/samples/richfaces-demo/src/main/webapp/templates: page and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Apr 14 08:28:46 EDT 2009


Author: ilya_shaikovsky
Date: 2009-04-14 08:28:46 -0400 (Tue, 14 Apr 2009)
New Revision: 13560

Added:
   trunk/samples/richfaces-demo/src/main/webapp/templates/page/
   trunk/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml
Log:
page/layouts templates

Added: trunk/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml	2009-04-14 12:28:46 UTC (rev 13560)
@@ -0,0 +1,30 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:ui="http://java.sun.com/jsf/facelets"
+	xmlns:h="http://java.sun.com/jsf/html"
+	xmlns:f="http://java.sun.com/jsf/core"
+	xmlns:rich="http://richfaces.org/rich"
+	xmlns:a4j="http://richfaces.org/a4j">
+
+<rich:page width="800" sidebarWidth="100">
+	<f:facet name="sidebar">
+		<h:outputText value="Menu Goes here" />
+	</f:facet>
+	<f:facet name="header">
+		<h:outputText value="Header" />
+	</f:facet>
+	<f:facet name="footer">
+		<h:outputText value="Footer" />
+	</f:facet>
+	<rich:layout>
+		<rich:layoutPanel position="left" width="33">
+			<h:outputText value="left" />
+		</rich:layoutPanel>
+		<rich:layoutPanel position="center" width="33">
+			<h:outputText value="center" /> 
+		</rich:layoutPanel>
+		<rich:layoutPanel position="right" width="33">
+			<h:outputText value="right" />
+		</rich:layoutPanel>
+	</rich:layout>
+</rich:page>
+</ui:composition>
\ No newline at end of file




More information about the richfaces-svn-commits mailing list