Author: vdedik
Date: 2012-11-05 09:22:30 -0500 (Mon, 05 Nov 2012)
New Revision: 15347
Modified:
branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml
branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml
Log:
bz #869348 - atom feeds in blog example fixed
Modified:
branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml
===================================================================
---
branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml 2012-11-04
23:20:45 UTC (rev 15346)
+++
branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/WEB-INF/web.xml 2012-11-05
14:22:30 UTC (rev 15347)
@@ -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/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml
===================================================================
---
branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml 2012-11-04
23:20:45 UTC (rev 15346)
+++
branches/enterprise/WFK-2_1/examples/blog/blog-web/src/main/webapp/index.xml 2012-11-05
14:22:30 UTC (rev 15347)
@@ -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"