[jboss-cvs] jboss-seam/examples/blog/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Sat Sep 30 15:59:34 EDT 2006
User: gavin
Date: 06/09/30 15:59:34
Modified: examples/blog/resources/WEB-INF faces-config.xml
pages.xml web.xml
Log:
refreshed blog example to use page parameters
Revision Changes Path
1.7 +1 -1 jboss-seam/examples/blog/resources/WEB-INF/faces-config.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: faces-config.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/blog/resources/WEB-INF/faces-config.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- faces-config.xml 10 Jun 2006 20:40:00 -0000 1.6
+++ faces-config.xml 30 Sep 2006 19:59:34 -0000 1.7
@@ -8,7 +8,7 @@
<!-- Facelets support -->
<application>
- <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+ <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
</application>
<!-- Select one of the two standard persistence lifecycle models for the Seam application -->
1.4 +11 -1 jboss-seam/examples/blog/resources/WEB-INF/pages.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: pages.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/blog/resources/WEB-INF/pages.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- pages.xml 29 Sep 2006 23:15:01 -0000 1.3
+++ pages.xml 30 Sep 2006 19:59:34 -0000 1.4
@@ -1,5 +1,15 @@
<pages>
- <page view-id="/entry.xhtml" action="#{entryAction.getBlogEntry(param.blogEntryId)}"/>
+
+ <page view-id="/search.xhtml">
+ <param name="searchPattern" value="#{searchService.searchPattern}"/>
+ </page>
+
+ <page view-id="/entry.xhtml" action="#{entryAction.loadBlogEntry(blogEntry.id)}">
+ <param name="blogEntryId" value="#{blogEntry.id}"/>
+ </page>
+
<page view-id="/post.xhtml" action="#{loginAction.challenge}"/>
+
<page view-id="*" action="#{blog.hitCount.hit}"/>
+
</pages>
\ No newline at end of file
1.11 +10 -0 jboss-seam/examples/blog/resources/WEB-INF/web.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: web.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/blog/resources/WEB-INF/web.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- web.xml 1 Jul 2006 18:23:24 -0000 1.10
+++ web.xml 30 Sep 2006 19:59:34 -0000 1.11
@@ -19,6 +19,16 @@
</listener>
<filter>
+ <filter-name>Seam Redirect Filter</filter-name>
+ <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
+ </filter>
+
+ <filter-mapping>
+ <filter-name>Seam Redirect Filter</filter-name>
+ <url-pattern>/seam/*</url-pattern>
+ </filter-mapping>
+
+ <filter>
<filter-name>Seam Exception Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class>
</filter>
More information about the jboss-cvs-commits
mailing list