[jboss-cvs] JBossAS SVN: r96854 - in projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web: src/main/webapp and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 24 09:21:42 EST 2009


Author: lvlcek at redhat.com
Date: 2009-11-24 09:21:41 -0500 (Tue, 24 Nov 2009)
New Revision: 96854

Added:
   projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/start.xhtml
Modified:
   projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/pom.xml
   projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/web.xml
   projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/index.jsp
Log:


Modified: projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/pom.xml
===================================================================
--- projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/pom.xml	2009-11-24 14:21:22 UTC (rev 96853)
+++ projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/pom.xml	2009-11-24 14:21:41 UTC (rev 96854)
@@ -14,6 +14,14 @@
     <dependencies>
 
         <dependency>
+            <groupId>org.jboss.snowdrop.samples.sportsclub</groupId>
+            <artifactId>sportsclub-reservations-spring</artifactId>
+            <version>${project.version}</version>
+            <type>ejb</type>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring</artifactId>
         </dependency>

Added: projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/start.xhtml
===================================================================
--- projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/start.xhtml	                        (rev 0)
+++ projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/start.xhtml	2009-11-24 14:21:41 UTC (rev 96854)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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:h="http://java.sun.com/jsf/html"
+      xmlns:a4j="http://richfaces.org/a4j"
+      xmlns:rich="http://richfaces.org/rich"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets">
+<head>
+    <title>Start Page</title>
+</head>
+<body>
+    <rich:panel header="StartBar">
+        It is working!
+    </rich:panel>
+</body>
+</html>
\ No newline at end of file

Modified: projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/web.xml	2009-11-24 14:21:22 UTC (rev 96853)
+++ projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/WEB-INF/web.xml	2009-11-24 14:21:41 UTC (rev 96854)
@@ -26,7 +26,13 @@
         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
         <param-value>server</param-value>
     </context-param>
+    <!--
     <context-param>
+        <param-name>org.richfaces.SKIN</param-name>
+        <param-value>lagune</param-value>
+    </context-param>
+    -->
+    <context-param>
         <param-name>contextConfigLocation</param-name>
         <param-value>/WEB-INF/spring-beans.xml</param-value>
     </context-param>
@@ -38,6 +44,19 @@
         <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
     </listener>
 
+    <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>

Modified: projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/index.jsp
===================================================================
--- projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/index.jsp	2009-11-24 14:21:22 UTC (rev 96853)
+++ projects/snowdrop/trunk/documentation/samples/sportsclub/sportsclub-reservations-web/src/main/webapp/index.jsp	2009-11-24 14:21:41 UTC (rev 96854)
@@ -1,5 +1,5 @@
 <html>
 <body>
-<h2>Hello World!</h2>
+<jsp:forward page="/start.jsf" />
 </body>
 </html>




More information about the jboss-cvs-commits mailing list