Author: vdedik
Date: 2012-11-05 09:33:10 -0500 (Mon, 05 Nov 2012)
New Revision: 15348
Modified:
branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml
branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/index.xml
Log:
bz #869348 - atom feeds in blog example fixed
Modified:
branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml
===================================================================
---
branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml 2012-11-05
14:22:30 UTC (rev 15347)
+++
branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml 2012-11-05
14:33:10 UTC (rev 15348)
@@ -44,5 +44,10 @@
<session-config>
<session-timeout>10</session-timeout>
</session-config>
+
+ <context-param>
+ <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
+ <param-value>*.xhtml;*.xml</param-value>
+ </context-param>
</web-app>
Modified: branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/index.xml
===================================================================
---
branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/index.xml 2012-11-05
14:22:30 UTC (rev 15347)
+++
branches/community/Seam_2_3/examples/blog/blog-web/src/main/webapp/index.xml 2012-11-05
14:33:10 UTC (rev 15348)
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<f:view contentType="application/atom+xml"
+<f:view contentType="application/xml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"