[webbeans-commits] Webbeans SVN: r68 - in ri/trunk: examples and 6 other directories.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Tue Aug 5 21:07:01 EDT 2008


Author: shane.bryzak at jboss.com
Date: 2008-08-05 21:07:01 -0400 (Tue, 05 Aug 2008)
New Revision: 68

Added:
   ri/trunk/examples/
   ri/trunk/examples/pizzashack/
   ri/trunk/examples/pizzashack/resources/
   ri/trunk/examples/pizzashack/resources/META-INF/
   ri/trunk/examples/pizzashack/resources/WEB-INF/
   ri/trunk/examples/pizzashack/src/
   ri/trunk/examples/pizzashack/src/main/
   ri/trunk/examples/pizzashack/src/main/java/
   ri/trunk/examples/pizzashack/view/
   ri/trunk/examples/pizzashack/view/home.seam
   ri/trunk/examples/pizzashack/view/index.html
   ri/trunk/examples/pizzashack/view/style/
   ri/trunk/examples/pizzashack/view/style/header.png
   ri/trunk/examples/pizzashack/view/style/main.css
   ri/trunk/examples/pizzashack/view/style/sidebar.png
   ri/trunk/examples/pizzashack/view/template.xhtml
Log:
webbeans example 

Added: ri/trunk/examples/pizzashack/view/home.seam
===================================================================
--- ri/trunk/examples/pizzashack/view/home.seam	                        (rev 0)
+++ ri/trunk/examples/pizzashack/view/home.seam	2008-08-06 01:07:01 UTC (rev 68)
@@ -0,0 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html 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:s="http://jboss.com/products/seam/taglib">
+
+  <ui:composition template="template.xhtml">
+    <ui:define name="content">
+      A Web Beans example
+    </ui:define>
+  </ui:composition>
+</html>
\ No newline at end of file

Added: ri/trunk/examples/pizzashack/view/index.html
===================================================================
--- ri/trunk/examples/pizzashack/view/index.html	                        (rev 0)
+++ ri/trunk/examples/pizzashack/view/index.html	2008-08-06 01:07:01 UTC (rev 68)
@@ -0,0 +1,5 @@
+<html>
+<head>
+  <meta http-equiv="Refresh" content="0; URL=home.seam">
+</head>
+</html>
\ No newline at end of file

Added: ri/trunk/examples/pizzashack/view/style/header.png
===================================================================
(Binary files differ)


Property changes on: ri/trunk/examples/pizzashack/view/style/header.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: ri/trunk/examples/pizzashack/view/style/main.css
===================================================================
--- ri/trunk/examples/pizzashack/view/style/main.css	                        (rev 0)
+++ ri/trunk/examples/pizzashack/view/style/main.css	2008-08-06 01:07:01 UTC (rev 68)
@@ -0,0 +1,26 @@
+body {
+  margin: 0px;
+  background-color: #ffffff;
+}
+
+#header {
+  background: url(header.png) top left no-repeat;
+  height: 116px;
+}
+
+#container {
+  width: 1024px;
+  background-color: #ffffff;
+}
+
+#sidebar {
+  background: url(sidebar.png) top left no-repeat;
+  background-color: #ffffff;
+  float: left;
+  width: 150px;
+  height: 487px;
+}
+
+#content {
+
+}
\ No newline at end of file

Added: ri/trunk/examples/pizzashack/view/style/sidebar.png
===================================================================
(Binary files differ)


Property changes on: ri/trunk/examples/pizzashack/view/style/sidebar.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: ri/trunk/examples/pizzashack/view/template.xhtml
===================================================================
--- ri/trunk/examples/pizzashack/view/template.xhtml	                        (rev 0)
+++ ri/trunk/examples/pizzashack/view/template.xhtml	2008-08-06 01:07:01 UTC (rev 68)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+    xmlns:ui="http://java.sun.com/jsf/facelets"
+    xmlns:s="http://jboss.com/products/seam/taglib"
+    xmlns:h="http://java.sun.com/jsf/html"
+    xmlns:f="http://java.sun.com/jsf/core">
+
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <title>Pizza Shack</title>
+  <link href="style/main.css" rel="stylesheet" type="text/css"/>
+  <ui:insert name="head"/>
+</head>
+
+<body>
+  
+  <div id="container">
+    <div id="header">
+  
+    </div>
+
+    <div id="sidebar">
+    
+    </div>
+  
+    <div id="content">
+      <ui:insert name="content"/>
+    </div>
+    
+    <br style="clear:both"/>
+  </div>
+   
+</body>
+</html>
+




More information about the weld-commits mailing list