Author: alevkovsky
Date: 2008-09-17 06:30:49 -0400 (Wed, 17 Sep 2008)
New Revision: 10459
Added:
trunk/sandbox/samples/editor-sample/
trunk/sandbox/samples/editor-sample/pom.xml
trunk/sandbox/samples/editor-sample/src/
trunk/sandbox/samples/editor-sample/src/main/
trunk/sandbox/samples/editor-sample/src/main/webapp/
trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/
trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/faces-config.xml
trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/editor-sample/src/main/webapp/editor.xhtml
trunk/sandbox/samples/editor-sample/src/main/webapp/index.jsp
Log:
Add editor-sample to sandbox
Property changes on: trunk/sandbox/samples/editor-sample
___________________________________________________________________
Name: svn:ignore
+ target
.classpath
.project
Added: trunk/sandbox/samples/editor-sample/pom.xml
===================================================================
--- trunk/sandbox/samples/editor-sample/pom.xml (rev 0)
+++ trunk/sandbox/samples/editor-sample/pom.xml 2008-09-17 10:30:49 UTC (rev 10459)
@@ -0,0 +1,35 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>samples</artifactId>
+ <groupId>org.richfaces.sandbox</groupId>
+ <version>3.3.0-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces</groupId>
+ <artifactId>editor-sample</artifactId>
+ <packaging>war</packaging>
+ <name>editor-sample Maven Webapp</name>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.richfaces.sandbox.ui</groupId>
+ <artifactId>editor</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.samples</groupId>
+ <artifactId>skins</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ </dependencies>
+ <build>
+ <finalName>editor-sample</finalName>
+ </build>
+</project>
\ No newline at end of file
Property changes on: trunk/sandbox/samples/editor-sample/pom.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/faces-config.xml
(rev 0)
+++
trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/faces-config.xml 2008-09-17
10:30:49 UTC (rev 10459)
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces
Config 1.0//EN"
+
"http://java.sun.com/dtd/web-facesconfig_1_0.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>
+
Property changes on:
trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/faces-config.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++ trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/web.xml 2008-09-17
10:30:49 UTC (rev 10459)
@@ -0,0 +1,66 @@
+<?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">
+ <description>Richfaces Panel Sample</description>
+ <display-name>panel-sample</display-name>
+ <context-param>
+<param-name>com.exadel.vcp.SKIN</param-name>
+<param-value>#{skinBean.skin}</param-value>
+</context-param>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.REFRESH_PERIOD</param-name>
+ <param-value>2</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.validateXml</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.verifyObjects</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.ajax4jsf.SKIN</param-name>
+ <param-value>#{skinBean.skin}</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
+ <param-value>com.sun.facelets.FaceletViewHandler</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>FORWARD</dispatcher>
+ <dispatcher>REQUEST</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>*.jsf</url-pattern>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Property changes on: trunk/sandbox/samples/editor-sample/src/main/webapp/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: trunk/sandbox/samples/editor-sample/src/main/webapp/editor.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/sandbox/samples/editor-sample/src/main/webapp/editor.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/sandbox/samples/editor-sample/src/main/webapp/index.jsp
===================================================================
--- trunk/sandbox/samples/editor-sample/src/main/webapp/index.jsp
(rev 0)
+++ trunk/sandbox/samples/editor-sample/src/main/webapp/index.jsp 2008-09-17 10:30:49 UTC
(rev 10459)
@@ -0,0 +1,7 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head></head>
+ <body>
+ <jsp:forward page="editor.jsf" />
+ </body>
+</html>
\ No newline at end of file
Property changes on: trunk/sandbox/samples/editor-sample/src/main/webapp/index.jsp
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native