Author: abelevich
Date: 2009-01-19 13:21:17 -0500 (Mon, 19 Jan 2009)
New Revision: 12341
Modified:
trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.jsp
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.xhtml
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/oneMorePage.xhtml
Log:
Modified: trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml
===================================================================
--- trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml 2009-01-19 18:20:28 UTC (rev
12340)
+++ trunk/sandbox/samples/maven-rd-plugin-sample/pom.xml 2009-01-19 18:21:17 UTC (rev
12341)
@@ -28,8 +28,17 @@
<namespaces>
<
namespace>http://richfaces.org/rich</namespace>
<
namespace>http://richfaces.org/a4j</namespace>
- </namespaces>
- </configuration>
+ </namespaces>
+ <outputScriptDirectory>
+ ${basedir}/src/main/webapp/scripts
+ </outputScriptDirectory>
+ <beforeIncludes>
+ <beforeInclude>org/test/scripts/before.js</beforeInclude>
+ </beforeIncludes>
+ <afterIncludes>
+ <afterInclude>org/test/scripts/after.js</afterInclude>
+ </afterIncludes>
+ </configuration>
<executions>
<execution>
<phase>process-resources</phase>
Modified: trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
---
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/WEB-INF/web.xml 2009-01-19
18:20:28 UTC (rev 12340)
+++
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/WEB-INF/web.xml 2009-01-19
18:21:17 UTC (rev 12341)
@@ -15,6 +15,12 @@
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>
<context-param>
+ <param-name>org.richfaces.LoadScriptStrategy</param-name>
+ <param-value>NONE</param-value>
+</context-param>
+
+
+ <context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
Modified: trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.jsp
===================================================================
---
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.jsp 2009-01-19
18:20:28 UTC (rev 12340)
+++
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.jsp 2009-01-19
18:21:17 UTC (rev 12341)
@@ -1,8 +1,11 @@
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<html>
- <head>
- <title></title>
+ <head>
+ <script src="/scripts/custom-dependencies.js"
type="text/javascript">
+ </script>
+ </head>
+
</head>
<body>
<f:view>
Modified: trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.xhtml
===================================================================
---
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.xhtml 2009-01-19
18:20:28 UTC (rev 12340)
+++
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/index.xhtml 2009-01-19
18:21:17 UTC (rev 12341)
@@ -7,7 +7,12 @@
xmlns:rich="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jsp/jstl/core"
+ <head>
+ <script src="scripts/custom-dependencies.js"
type="text/javascript">
+ </script>
+ </head>
<f:view>
+
<h:form>
<rich:datascroller align="left" for="carList"
maxPages="20"
page="#{dataTableScrollerBean.scrollerPage}"
reRender="sc2" id="sc1" />
Modified:
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/oneMorePage.xhtml
===================================================================
---
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/oneMorePage.xhtml 2009-01-19
18:20:28 UTC (rev 12340)
+++
trunk/sandbox/samples/maven-rd-plugin-sample/src/main/webapp/pages/oneMorePage.xhtml 2009-01-19
18:21:17 UTC (rev 12341)
@@ -7,6 +7,11 @@
xmlns:rich="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jstl/core"
+ <head>
+ <script src="../scripts/custom-dependencies.js"
type="text/javascript">
+ </script>
+ </head>
+
<f:view>
<h:form>
<rich:toolBar id="toolBar" itemSeparator="line"
height="28px">