<?xml version="1.0" encoding="UTF-8"?>
<web-app id="sakai.summary.calendar" version="2.4"
	xmlns="http://java.sun.com/xml/ns/j2ee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
	<display-name>summary-calendar</display-name>
	<description>Summary Calendar Tool</description>

	<context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>server</param-value>
	</context-param>

	<context-param>
		<!-- Changed ordering to meet DTD - PAFH 8/24/2006 -->
		<description>
			Set this flag to true if you want the JavaServer Faces
			Reference Implementation to validate the XML in your
			faces-config.xml resources against the DTD. Default value is
			false.
		</description>
		<param-name>com.sun.faces.validateXml</param-name>
		<param-value>false</param-value>
	</context-param>

	<context-param>
		<!-- Changed ordering to meet DTD - PAFH 8/24/2006 -->
		<description>
			Set this flag to true if you want the JavaServer Faces
			Reference Implementation to verify that all of the
			application objects you have configured (components,
			converters, renderers, and validators) can be successfully
			created. Default value is false.
		</description>
		<param-name>com.sun.faces.verifyObjects</param-name>
		<param-value>false</param-value>
	</context-param>

	<!-- MyFaces 1.0.9 support -->
	<!-- <listener>
		<listener-class>
			org.apache.myfaces.webapp.StartupServletContextListener
		</listener-class>
	</listener> -->

	<!-- Faces Servlet -->
	<servlet>
		<servlet-name>Faces Servlet</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>2</load-on-startup>
	</servlet>

	<!-- Faces Servlet Mapping -->
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>*.jsf</url-pattern>
	</servlet-mapping>

	<!-- Sakai request filter, mapped to anything that goes to the faces servlet -->
	<filter>
		<filter-name>sakai.request</filter-name>
		<filter-class>org.sakaiproject.util.RequestFilter</filter-class>
	</filter>

	<filter-mapping>
		<filter-name>sakai.request</filter-name>
		<servlet-name>Faces Servlet</servlet-name>
		<dispatcher>REQUEST</dispatcher>
		<dispatcher>FORWARD</dispatcher>
		<dispatcher>INCLUDE</dispatcher>
	</filter-mapping>

	<listener>
		<listener-class>
			org.sakaiproject.util.ToolListener
		</listener-class>
	</listener>

	<!-- Sakai JSF Tool Servlet for this tool -->
	<servlet>
		<servlet-name>sakai.summary.calendar</servlet-name>
		<servlet-class>org.sakaiproject.jsf.util.JsfTool</servlet-class>
		<init-param>
			<param-name>default</param-name>
			<param-value>calendar</param-value>
		</init-param>
		<init-param>
			<param-name>path</param-name>
			<param-value>/summary-calendar</param-value>
		</init-param>
		<init-param>
			<param-name>default.last.view</param-name>
			<param-value>true</param-value>
		</init-param>
		<load-on-startup>1</load-on-startup>
	</servlet>


	<welcome-file-list>
		<welcome-file>index.html</welcome-file>
	</welcome-file-list>

</web-app>
