[richfaces-svn-commits] JBoss Rich Faces SVN: r15130 - in branches/community/3.3.X/test-applications/facelets: src/main/webapp/WEB-INF and 1 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Fri Aug 7 09:01:39 EDT 2009


Author: mvitenkov
Date: 2009-08-07 09:01:39 -0400 (Fri, 07 Aug 2009)
New Revision: 15130

Modified:
   branches/community/3.3.X/test-applications/facelets/pom.xml
   branches/community/3.3.X/test-applications/facelets/src/main/webapp/WEB-INF/web.xml
   branches/community/3.3.X/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
Log:
facelets should work under jboss 5.1.0.GA and tomcat 6.0.x

Modified: branches/community/3.3.X/test-applications/facelets/pom.xml
===================================================================
--- branches/community/3.3.X/test-applications/facelets/pom.xml	2009-08-07 12:40:17 UTC (rev 15129)
+++ branches/community/3.3.X/test-applications/facelets/pom.xml	2009-08-07 13:01:39 UTC (rev 15130)
@@ -13,5 +13,29 @@
 	<build>
 		<finalName>richfaces-test-facelets</finalName>
 	</build>
-
+	<dependencies>	
+	<dependency>
+		<groupId>com.sun.facelets</groupId>
+		<artifactId>jsf-facelets</artifactId>
+		<version>1.1.14</version> 
+		<scope>provided</scope> 
+	</dependency>
+	<dependency>
+		<groupId>xml-apis</groupId> 
+ 		<artifactId>xml-apis</artifactId> 
+		<version>1.0.b2</version> 
+		<scope>provided</scope> 
+	</dependency>
+	<dependency>
+		<groupId>javax.servlet</groupId>
+		<artifactId>servlet-api</artifactId>
+		<version>2.5</version>
+		<scope>provided</scope> 
+	</dependency>
+	<dependency>
+		<groupId>com.sun.facelets</groupId>
+		<artifactId>jsf-facelets</artifactId>
+		<version>1.1.15.B1</version> 		
+	</dependency>
+</dependencies>
 </project>
\ No newline at end of file

Modified: branches/community/3.3.X/test-applications/facelets/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/community/3.3.X/test-applications/facelets/src/main/webapp/WEB-INF/web.xml	2009-08-07 12:40:17 UTC (rev 15129)
+++ branches/community/3.3.X/test-applications/facelets/src/main/webapp/WEB-INF/web.xml	2009-08-07 13:01:39 UTC (rev 15130)
@@ -68,6 +68,10 @@
 		</param-name>
 		<param-value>true</param-value>
 	</context-param>
+	<context-param>
+		<param-name>facelets.LIBRARIES</param-name>
+		<param-value>/WEB-INF/myTags.taglib.xml</param-value>
+	</context-param>
 	<filter>
 		<display-name>Ajax4jsf Filter</display-name>
 		<filter-name>ajax4jsf</filter-name>
@@ -89,6 +93,12 @@
 		<dispatcher>INCLUDE</dispatcher>
 	</filter-mapping>
 
+	<listener>
+		<listener-class>
+			com.sun.faces.config.ConfigureListener
+		</listener-class>
+	</listener>
+
 	<session-config>
 		<session-timeout>500</session-timeout>
 	</session-config>

Modified: branches/community/3.3.X/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml	2009-08-07 12:40:17 UTC (rev 15129)
+++ branches/community/3.3.X/test-applications/facelets/src/main/webapp/pages/Rich/Rich.xhtml	2009-08-07 13:01:39 UTC (rev 15130)
@@ -23,7 +23,7 @@
 		}
 	</script>
 	<link rel="stylesheet"
-		href="#{facesContext.externalContext.requestContextPath}/styles/styles_.css"
+		href="${facesContext.externalContext.requestContextPath}/styles/styles_.css"
 		type="text/css" />
 	</head>
 	<body>



More information about the richfaces-svn-commits mailing list