[richfaces-svn-commits] JBoss Rich Faces SVN: r1194 - in trunk/sandbox-samples: calendar-sample and 12 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Jun 14 20:06:14 EDT 2007


Author: nbelaevski
Date: 2007-06-14 20:06:13 -0400 (Thu, 14 Jun 2007)
New Revision: 1194

Added:
   trunk/sandbox-samples/calendar-sample/
   trunk/sandbox-samples/calendar-sample/pom.xml
   trunk/sandbox-samples/calendar-sample/src/
   trunk/sandbox-samples/calendar-sample/src/main/
   trunk/sandbox-samples/calendar-sample/src/main/java/
   trunk/sandbox-samples/calendar-sample/src/main/java/org/
   trunk/sandbox-samples/calendar-sample/src/main/java/org/richfaces/
   trunk/sandbox-samples/calendar-sample/src/main/java/org/richfaces/Bean.java
   trunk/sandbox-samples/calendar-sample/src/main/resources/
   trunk/sandbox-samples/calendar-sample/src/main/webapp/
   trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/
   trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/faces-config.xml
   trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/web.xml
   trunk/sandbox-samples/calendar-sample/src/main/webapp/index.jsp
   trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/
   trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.jsp
   trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.xhtml
   trunk/sandbox-samples/calendar-sample/src/test/
   trunk/sandbox-samples/calendar-sample/src/test/java/
   trunk/sandbox-samples/calendar-sample/src/test/java/org/
   trunk/sandbox-samples/calendar-sample/src/test/java/org/richfaces/
   trunk/sandbox-samples/calendar-sample/src/test/java/org/richfaces/BeanTest.java
Modified:
   trunk/sandbox-samples/pom.xml
Log:
calendar-sample initial import


Property changes on: trunk/sandbox-samples/calendar-sample
___________________________________________________________________
Name: svn:ignore
   + .settings
target
.classpath
.project


Added: trunk/sandbox-samples/calendar-sample/pom.xml
===================================================================
--- trunk/sandbox-samples/calendar-sample/pom.xml	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/pom.xml	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,32 @@
+<?xml version="1.0"?><project>
+  <parent>
+    <artifactId>richfaces-samples</artifactId>
+    <groupId>org.richfaces</groupId>
+    <version>3.0.2-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.richfaces</groupId>
+  <artifactId>calendar-sample</artifactId>
+  <packaging>war</packaging>
+  <name>calendar-sample Maven Webapp</name>
+  <dependencies>
+    <dependency>
+      <groupId>org.richfaces</groupId>
+      <artifactId>common</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.richfaces</groupId>
+      <artifactId>calendar</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.richfaces</groupId>
+      <artifactId>skins</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <finalName>calendar-sample</finalName>
+  </build>
+</project>
\ No newline at end of file

Added: trunk/sandbox-samples/calendar-sample/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/sandbox-samples/calendar-sample/src/main/java/org/richfaces/Bean.java	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/src/main/java/org/richfaces/Bean.java	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,29 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+ */
+
+package org.richfaces;
+/**
+ * @author $Autor$
+ *
+ */
+public class Bean {
+	
+}
\ No newline at end of file

Added: trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/faces-config.xml	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/faces-config.xml	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+                              "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+<faces-config>
+    <managed-bean>
+        <managed-bean-name>skinBean</managed-bean-name>
+        <managed-bean-class>org.richfaces.SkinBean</managed-bean-class>
+        <managed-bean-scope>session</managed-bean-scope>
+    </managed-bean>
+</faces-config>

Added: trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/web.xml	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/src/main/webapp/WEB-INF/web.xml	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+ <display-name>Archetype Created Web Application</display-name>
+ <context-param>
+  <param-name>javax.faces.CONFIG_FILES</param-name>
+  <param-value>/WEB-INF/faces-config.xml</param-value>
+ </context-param>
+ <context-param>
+  <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
+  <param-value>false</param-value>
+ </context-param>
+ <context-param>
+  <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+  <param-value>server</param-value>
+ </context-param>
+ <!-- 
+ --> 
+ <filter>
+  <display-name>Ajax4jsf Filter</display-name>
+  <filter-name>ajax4jsf</filter-name>
+  <filter-class>org.ajax4jsf.Filter</filter-class>
+ </filter>
+ <filter-mapping>
+  <filter-name>ajax4jsf</filter-name>
+  <servlet-name>Faces Servlet</servlet-name>
+  <dispatcher>REQUEST</dispatcher>
+  <dispatcher>FORWARD</dispatcher>
+  <dispatcher>INCLUDE</dispatcher>
+ </filter-mapping>
+ <servlet>
+  <servlet-name>Faces Servlet</servlet-name>
+  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+  <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+  <servlet-name>Faces Servlet</servlet-name>
+  <url-pattern>/faces/*</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+  <servlet-name>Faces Servlet</servlet-name>
+  <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <login-config>
+  <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>

Added: trunk/sandbox-samples/calendar-sample/src/main/webapp/index.jsp
===================================================================
--- trunk/sandbox-samples/calendar-sample/src/main/webapp/index.jsp	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/src/main/webapp/index.jsp	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,11 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+
+<html>
+
+<head></head>
+
+	<body>
+		<jsp:forward page="/pages/index.jsf" />
+	</body>
+
+</html>
\ No newline at end of file

Added: trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.jsp	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.jsp	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,22 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.ajax4jsf.org/calendar" prefix="calendar" %>
+<html>
+	<head>
+		<title></title>
+	</head>
+	<body>
+		<f:view>
+			<f:verbatim><h3>HTML tidying test</h3></f:verbatim>
+			<calendar:calendar>
+				<h:outputText escape="false" value="<br xmlns:test='urn:test' test:aaa='sss'>&nbsp;&amp;<a href='#' class='{test}'>end<div xmlns:prefix='urn:urn'><p value='aaa'><p value='bbb'></p></div>" />
+			</calendar:calendar>
+
+
+			<f:verbatim><h3>Templating test</h3></f:verbatim>
+			<calendar:calendar>
+				<f:verbatim><input type="text" value="$ {test} $" /></f:verbatim>
+			</calendar:calendar>
+		</f:view>
+	</body>	
+</html>
\ No newline at end of file

Added: trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.xhtml	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/src/main/webapp/pages/index.xhtml	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,12 @@
+<!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:f="http://java.sun.com/jsf/core"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
+      xmlns:c="http://java.sun.com/jsp/jstl/core"  
+      >
+	<f:view>
+
+	</f:view>
+</html>	
\ No newline at end of file

Added: trunk/sandbox-samples/calendar-sample/src/test/java/org/richfaces/BeanTest.java
===================================================================
--- trunk/sandbox-samples/calendar-sample/src/test/java/org/richfaces/BeanTest.java	                        (rev 0)
+++ trunk/sandbox-samples/calendar-sample/src/test/java/org/richfaces/BeanTest.java	2007-06-15 00:06:13 UTC (rev 1194)
@@ -0,0 +1,46 @@
+/**
+ * License Agreement.
+ *
+ * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
+ */
+
+package org.richfaces;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+*/
+public class BeanTest 
+    extends TestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public BeanTest( String testName )
+    {
+        super( testName );
+    }
+
+    public void testStub() throws Exception {
+    	
+    }
+}

Modified: trunk/sandbox-samples/pom.xml
===================================================================
--- trunk/sandbox-samples/pom.xml	2007-06-15 00:03:21 UTC (rev 1193)
+++ trunk/sandbox-samples/pom.xml	2007-06-15 00:06:13 UTC (rev 1194)
@@ -84,13 +84,13 @@
 			<artifactId>jstl</artifactId>
 			<version>1.0</version>
 			<scope>runtime</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.richfaces</groupId>
-			<artifactId>richfaces</artifactId>			
-			<version>3.0.2-SNAPSHOT</version>
-			<scope>runtime</scope>
 		</dependency>
+		<dependency>
+			<groupId>org.richfaces</groupId>
+			<artifactId>richfaces</artifactId>			
+			<version>3.0.2-SNAPSHOT</version>
+			<scope>runtime</scope>
+		</dependency>
 	</dependencies>
 
 	<scm>
@@ -190,7 +190,7 @@
 				<dependency>
 					<groupId>javax.faces</groupId>
 					<artifactId>jsf-api</artifactId>
-					<version>1.2_03</version>
+					<version>1.2_03</version>
 					<scope>runtime</scope>
 				</dependency>
 				<dependency>
@@ -238,64 +238,65 @@
 					<scope>runtime</scope>
 				</dependency>
 			</dependencies>
-		</profile>
-		<profile>
-			<id>jsf-facelets</id>
-			<dependencies>
-				<dependency>
-					<groupId>javax.servlet</groupId>
-					<artifactId>servlet-api</artifactId>
-					<version>2.5</version>
-					<scope>provided</scope>
-				</dependency>
-				<dependency>
-					<groupId>javax.servlet.jsp</groupId>
-					<artifactId>jsp-api</artifactId>
-					<version>2.1</version>
-					<scope>provided</scope>
-				</dependency>
-				<dependency>
-					<groupId>javax.faces</groupId>
-					<artifactId>jsf-api</artifactId>
-					<version>1.2_03</version>
-				</dependency>
-				<dependency>
-					<groupId>javax.faces</groupId>
-					<artifactId>jsf-impl</artifactId>
-					<version>1.2_03</version>
-					<scope>runtime</scope>
-				</dependency>
-				<dependency>
-					<groupId>com.sun.facelets</groupId>
-					<artifactId>jsf-facelets</artifactId>
-					<version>1.1.11</version>
-					<scope>runtime</scope>
-				</dependency>
-				<dependency>
-					<groupId>javax.el</groupId>
-					<artifactId>el-api</artifactId>
-					<version>1.0</version>
-					<scope>runtime</scope>
-				</dependency>
-				<dependency>
-					<groupId>el-impl</groupId>
-					<artifactId>el-impl</artifactId>
-					<version>1.0</version>
-					<scope>runtime</scope>
-				</dependency>
-				<dependency>
-					<groupId>javax.servlet</groupId>
-					<artifactId>jstl</artifactId>
-					<version>1.0</version>
-					<scope>runtime</scope>
-				</dependency>
-			</dependencies>
-		</profile>
+		</profile>
+		<profile>
+			<id>jsf-facelets</id>
+			<dependencies>
+				<dependency>
+					<groupId>javax.servlet</groupId>
+					<artifactId>servlet-api</artifactId>
+					<version>2.5</version>
+					<scope>provided</scope>
+				</dependency>
+				<dependency>
+					<groupId>javax.servlet.jsp</groupId>
+					<artifactId>jsp-api</artifactId>
+					<version>2.1</version>
+					<scope>provided</scope>
+				</dependency>
+				<dependency>
+					<groupId>javax.faces</groupId>
+					<artifactId>jsf-api</artifactId>
+					<version>1.2_03</version>
+				</dependency>
+				<dependency>
+					<groupId>javax.faces</groupId>
+					<artifactId>jsf-impl</artifactId>
+					<version>1.2_03</version>
+					<scope>runtime</scope>
+				</dependency>
+				<dependency>
+					<groupId>com.sun.facelets</groupId>
+					<artifactId>jsf-facelets</artifactId>
+					<version>1.1.11</version>
+					<scope>runtime</scope>
+				</dependency>
+				<dependency>
+					<groupId>javax.el</groupId>
+					<artifactId>el-api</artifactId>
+					<version>1.0</version>
+					<scope>runtime</scope>
+				</dependency>
+				<dependency>
+					<groupId>el-impl</groupId>
+					<artifactId>el-impl</artifactId>
+					<version>1.0</version>
+					<scope>runtime</scope>
+				</dependency>
+				<dependency>
+					<groupId>javax.servlet</groupId>
+					<artifactId>jstl</artifactId>
+					<version>1.0</version>
+					<scope>runtime</scope>
+				</dependency>
+			</dependencies>
+		</profile>
 	</profiles>
   <modules>
     <module>scrollable-grid-demo</module>
     <module>panel2-sample</module>
     <module>simpleTogglePanel2-sample</module>
     <module>panelmenu-sample</module>
+    <module>calendar-sample</module>
   </modules>
 </project>
\ No newline at end of file




More information about the richfaces-svn-commits mailing list