Author: abelevich
Date: 2007-07-18 08:23:17 -0400 (Wed, 18 Jul 2007)
New Revision: 1669
Added:
trunk/sandbox/samples/rich-message-demo/
trunk/sandbox/samples/rich-message-demo/pom.xml
trunk/sandbox/samples/rich-message-demo/src/
trunk/sandbox/samples/rich-message-demo/src/main/
trunk/sandbox/samples/rich-message-demo/src/main/webapp/
trunk/sandbox/samples/rich-message-demo/src/main/webapp/META-INF/
trunk/sandbox/samples/rich-message-demo/src/main/webapp/META-INF/MANIFEST.MF
trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/
trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/faces-config.xml
trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/rich-message-demo/src/main/webapp/index.jsp
trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/
trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml
Log:
message component demo skeleton
Added: trunk/sandbox/samples/rich-message-demo/pom.xml
===================================================================
--- trunk/sandbox/samples/rich-message-demo/pom.xml (rev 0)
+++ trunk/sandbox/samples/rich-message-demo/pom.xml 2007-07-18 12:23:17 UTC (rev 1669)
@@ -0,0 +1,40 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>samples</artifactId>
+ <groupId>org.richfaces.sandbox</groupId>
+ <version>3.1.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.demo</groupId>
+ <artifactId>rich-message-demo</artifactId>
+ <packaging>war</packaging>
+ <name>rich-message-demo</name>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.sandbox.ui</groupId>
+ <artifactId>message</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces</groupId>
+ <artifactId>skins</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+
+ <finalName>rich-message-demo</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
Added: trunk/sandbox/samples/rich-message-demo/src/main/webapp/META-INF/MANIFEST.MF
===================================================================
--- trunk/sandbox/samples/rich-message-demo/src/main/webapp/META-INF/MANIFEST.MF
(rev 0)
+++
trunk/sandbox/samples/rich-message-demo/src/main/webapp/META-INF/MANIFEST.MF 2007-07-18
12:23:17 UTC (rev 1669)
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
Added: trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/faces-config.xml
(rev 0)
+++
trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/faces-config.xml 2007-07-18
12:23:17 UTC (rev 1669)
@@ -0,0 +1,6 @@
+<?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>
+</faces-config>
+
Added: trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++ trunk/sandbox/samples/rich-message-demo/src/main/webapp/WEB-INF/web.xml 2007-07-18
12:23:17 UTC (rev 1669)
@@ -0,0 +1,70 @@
+<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>Richfaces message component application</display-name>
+ <!--
+ <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>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+ <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>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+ <context-param>
+ <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
+ <param-value>false</param-value>
+ </context-param>
+ <filter>
+ <display-name>Ajax4jsf Filter</display-name>
+ <filter-name>ajax4jsf</filter-name>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ <init-param>
+ <param-name>forceparser</param-name>
+ <param-value>false</param-value>
+ </init-param>
+ </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/rich-message-demo/src/main/webapp/index.jsp
===================================================================
--- trunk/sandbox/samples/rich-message-demo/src/main/webapp/index.jsp
(rev 0)
+++ trunk/sandbox/samples/rich-message-demo/src/main/webapp/index.jsp 2007-07-18 12:23:17
UTC (rev 1669)
@@ -0,0 +1,7 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+ <head></head>
+ <body>
+ <jsp:forward page="/pages/message-demo.jsf" />
+ </body>
+</html>
Added: trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml
===================================================================
--- trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml
(rev 0)
+++
trunk/sandbox/samples/rich-message-demo/src/main/webapp/pages/message-demo.xhtml 2007-07-18
12:23:17 UTC (rev 1669)
@@ -0,0 +1,10 @@
+<!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:msg="http://labs.jboss.com/jbossrichfaces/ui/ui/message"
+
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax">
+
+ <h:outputText value="hello!!"></h:outputText>
+ </html>
\ No newline at end of file