You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2012/03/19 14:10:41 UTC

svn commit: r1302413 - in /myfaces/extensions/scripting/trunk/extscript-examples/blog-example: pom.xml src/main/webapp/WEB-INF/web.xml src/main/webapp/index.jsp

Author: werpu
Date: Mon Mar 19 13:10:40 2012
New Revision: 1302413

URL: http://svn.apache.org/viewvc?rev=1302413&view=rev
Log:
https://issues.apache.org/jira/browse/EXTSCRIPT-158 cleaning up and fortyfing the app

Added:
    myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/index.jsp
Modified:
    myfaces/extensions/scripting/trunk/extscript-examples/blog-example/pom.xml
    myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/WEB-INF/web.xml

Modified: myfaces/extensions/scripting/trunk/extscript-examples/blog-example/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-examples/blog-example/pom.xml?rev=1302413&r1=1302412&r2=1302413&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-examples/blog-example/pom.xml (original)
+++ myfaces/extensions/scripting/trunk/extscript-examples/blog-example/pom.xml Mon Mar 19 13:10:40 2012
@@ -10,7 +10,7 @@
     <groupId>org.apache.myfaces.extensions.scripting</groupId>
     <artifactId>blog-example</artifactId>
     <packaging>war</packaging>
-    <name>A custom project using myfaces 2.0</name>
+    <name>A simple blogging project using myfaces 2.0</name>
     <version>1.0.3-SNAPSHOT</version>
     <url>http://www.apache.org</url>
 

Modified: myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/WEB-INF/web.xml?rev=1302413&r1=1302412&r2=1302413&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/WEB-INF/web.xml Mon Mar 19 13:10:40 2012
@@ -122,6 +122,10 @@
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.jsf</url-pattern>
     </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>Faces Servlet</servlet-name>
+        <url-pattern>*.xhtml</url-pattern>
+    </servlet-mapping>
 
     <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>

Added: myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/index.jsp?rev=1302413&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/index.jsp (added)
+++ myfaces/extensions/scripting/trunk/extscript-examples/blog-example/src/main/webapp/index.jsp Mon Mar 19 13:10:40 2012
@@ -0,0 +1,22 @@
+<!--
+ * 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.
+-->
+<%@ page session="false" %>
+<%
+    response.sendRedirect("javablog.jsf");
+%>
\ No newline at end of file