Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/portlet.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/portlet.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/datetime.jsp
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/datetime.jsp?rev=930226&view=auto
==============================================================================
--- 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/datetime.jsp
 (added)
+++ 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/datetime.jsp
 Fri Apr  2 10:10:35 2010
@@ -0,0 +1,24 @@
+<%--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+--%>
+<%
+    java.util.Locale locale = request.getLocale();
+    if ( locale == null )
+    {
+        locale = java.util.Locale.ENGLISH;
+    }
+%>
+<%= java.text.DateFormat.getDateTimeInstance(java.text.DateFormat.MEDIUM, 
java.text.DateFormat.MEDIUM, locale).format(new java.util.Date()) %>

Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/datetime.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/datetime.jsp
------------------------------------------------------------------------------
    svn:keywords = Id

Added: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/edit-prefs.vm
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/edit-prefs.vm?rev=930226&view=auto
==============================================================================
--- 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/edit-prefs.vm
 (added)
+++ 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/edit-prefs.vm
 Fri Apr  2 10:10:35 2010
@@ -0,0 +1,29 @@
+
+#*
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+*#
+<h2 class="portlet-section-header">Edit Preferences</h2>
+
+<form action="$renderResponse.createActionURL()" method="post">
+<table>
+#foreach ($pref in $prefs)
+#prefField($pref.Key $pref.Value "40")
+#end
+</table>
+<input type="submit" name="Save" value="Save" />
+</form>
+
+

Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/edit-prefs.vm
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/view/edit-prefs.vm
------------------------------------------------------------------------------
    svn:keywords = Id

Added: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/web.xml?rev=930226&view=auto
==============================================================================
--- 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/web.xml
 (added)
+++ 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/web.xml
 Fri Apr  2 10:10:35 2010
@@ -0,0 +1,195 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN"
+                         "http://java.sun.com/dtd/web-app_2_3.dtd";>
+<web-app>
+    <display-name>Jetspeed-2 Portal Administration Portlets</display-name>
+    <description>Administration Portlets for the Jetspeed-2 Enterprise 
Portal</description>
+
+       <context-param>
+       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+       <param-value>server</param-value>
+       </context-param>
+       <context-param>
+       <param-name>javax.faces.application.CONFIG_FILES</param-name>
+       <param-value>/WEB-INF/faces-config.xml</param-value>
+       </context-param>
+       <context-param>
+        <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
+        <param-value>true</param-value>
+        <description>
+            This parameter tells MyFaces if javascript code should be allowed 
in the
+            rendered HTML output.
+            If javascript is allowed, command_link anchors will have 
javascript code
+            that submits the corresponding form.
+            If javascript is not allowed, the state saving info and nested 
parameters
+            will be added as url parameters.
+            Default: "true"
+        </description>
+    </context-param>
+    
+    <context-param>
+        <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
+        <param-value>false</param-value>
+        <description>
+            This parameter tells MyFaces if javascript code should be allowed 
in the
+            rendered HTML output.
+            If javascript is allowed, command_link anchors will have 
javascript code
+            that submits the corresponding form.
+            If javascript is not allowed, the state saving info and nested 
parameters
+            will be added as url parameters.
+            Default: "false"
+
+            Setting this param to true should be combined with 
STATE_SAVING_METHOD "server" for
+            best results.
+
+            This is an EXPERIMENTAL feature. You also have to enable the 
detector filter/filter mapping below to get
+            JavaScript detection working.
+        </description>
+    </context-param>
+
+    <context-param>
+        <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
+        <param-value>true</param-value>
+        <description>
+            If true, rendered HTML code will be formatted, so that it is 
"human readable".
+            i.e. additional line separators and whitespace will be written, 
that do not
+            influence the HTML code.
+            Default: "true"
+        </description>
+    </context-param>
+  
+    <context-param>
+               <param-name>webAppRootKey</param-name>
+               
<param-value>org.apache.portals.applications.test-pa</param-value>
+       </context-param>
+
+    <context-param>
+        <param-name>log4jConfigLocation</param-name>
+        <param-value>/WEB-INF/classes/log4j.properties</param-value>
+    </context-param>
+       
+       <context-param>
+               <param-name>contextConfigLocation</param-name>
+               
<param-value>/WEB-INF/springmvc/context/applicationContext.xml</param-value>
+       </context-param>
+
+    <listener>
+      
<listener-class>org.apache.jetspeed.webapp.logging.Log4JConfigurator</listener-class>
+    </listener>
+    
+       <!-- Listener, that does all the startup work (configuration, init). -->
+       <listener>
+       
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
+       </listener>
+
+    <listener>
+               
<listener-class>org.springframework.web.util.WebAppRootListener</listener-class>
+       </listener>
+
+    <listener>
+        
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
+    </listener>
+
+       <listener>
+               
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+       </listener>
+  
+       <!-- Faces Servlet -->
+       <servlet>
+       <servlet-name>Faces Servlet</servlet-name>
+       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+       <load-on-startup>1</load-on-startup>
+       </servlet>
+  
+    <!-- Define Velocity Servlet -->
+       <servlet>
+               <servlet-name>velocity</servlet-name>
+               
<servlet-class>org.apache.portals.bridges.velocity.BridgesVelocityViewServlet</servlet-class>
+               <init-param>
+                       <param-name>org.apache.velocity.toolbox</param-name>
+                       <param-value>/WEB-INF/velocity/toolbox.xml</param-value>
+               </init-param>
+               <init-param>
+                       <param-name>org.apache.velocity.properties</param-name>
+                       
<param-value>/WEB-INF/velocity/velocity.properties</param-value>
+               </init-param>
+               <load-on-startup>10</load-on-startup>
+       </servlet>
+
+    <!-- Define Spring MVC View Servlet -->
+       <servlet>
+               <servlet-name>ViewRendererServlet</servlet-name>
+               
<servlet-class>org.springframework.web.servlet.ViewRendererServlet</servlet-class>
+               <load-on-startup>1</load-on-startup>
+       </servlet>
+  
+   <servlet>
+    <servlet-name>JetspeedContainer</servlet-name>
+    <display-name>Jetspeed Container</display-name>
+    <description>MVC Servlet for Jetspeed Portlet Applications</description>
+    
<servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+    <init-param>
+      <param-name>contextName</param-name>
+      <param-value>test-pa</param-value>
+    </init-param>
+    <load-on-startup>100</load-on-startup>
+   </servlet>
+  
+  <servlet-mapping>
+    <servlet-name>JetspeedContainer</servlet-name>
+    <url-pattern>/container/*</url-pattern>
+  </servlet-mapping>
+      
+       <!-- Map *.vm files to Velocity  -->
+       <servlet-mapping>
+               <servlet-name>velocity</servlet-name>
+               <url-pattern>*.vm</url-pattern>
+       </servlet-mapping>      
+
+    <!-- Map Spring MVC Servlet -->
+       <servlet-mapping>
+               <servlet-name>ViewRendererServlet</servlet-name>
+               <url-pattern>/WEB-INF/servlet/view</url-pattern>
+       </servlet-mapping>
+
+       <!-- extension mapping -->
+       <servlet-mapping>
+               <servlet-name>Faces Servlet</servlet-name>
+               <url-pattern>*.jsf</url-pattern>
+       </servlet-mapping>
+
+       <!-- Tag libraries -->
+       <taglib>
+               <taglib-uri>c.tld</taglib-uri>
+               <taglib-location>/WEB-INF/c.tld</taglib-location>
+       </taglib>
+       <taglib>
+               <taglib-uri>fmt.tld</taglib-uri>
+               <taglib-location>/WEB-INF/fmt.tld</taglib-location>
+       </taglib>
+       <taglib>
+               <taglib-uri>sql.tld</taglib-uri>
+               <taglib-location>/WEB-INF/sql.tld</taglib-location>
+       </taglib>
+       <taglib>
+               <taglib-uri>x.tld</taglib-uri>
+               <taglib-location>/WEB-INF/x.tld</taglib-location>
+       </taglib>
+  
+</web-app>

Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
portals/jetspeed-2/portal/trunk/maven/jetspeed-maven-utils/src/test/resources/testdata/test-pa/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Id



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to