<?xml version="1.0" encoding="UTF-8"?>
<web-app 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">


    <context-param>
      <param-name>javax.faces.CONFIG_FILES</param-name>
      <param-value>/WEB-INF/navigation.xml</param-value>
    </context-param>
    
 	<context-param>
        <param-name>org.richfaces.SKIN</param-name>
        <param-value>blueSky</param-value>
    </context-param>     
    
    <context-param>
        <param-name>facelets.SKIP_COMMENTS</param-name>
        <param-value>true</param-value>
    </context-param>
    
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.jsp</param-value>
  </context-param>
  
   
  <context-param>
    <param-name>facelets.VIEW_MAPPINGS</param-name>
    <param-value>*xhtml</param-value>
  </context-param>   
  
  <context-param>
  <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  <param-value>com.sun.facelets.FaceletViewHandler</param-value>
 </context-param>
  
    
    
    <context-param>
		<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
		<param-value>NONE,TIDY,NEKO</param-value>
	</context-param>
	<context-param>
		<param-name>org.ajax4jsf.xmlparser.TIDY</param-name>
		<param-value>
			/faces/TIDY/*
		</param-value>
	</context-param>
	<context-param>
		<param-name>org.ajax4jsf.xmlparser.NEKO</param-name>
		<param-value>
			/faces/NEKO/*
		</param-value>
	</context-param>
	<context-param>
		<param-name>org.ajax4jsf.xmlparser.NONE</param-name>
		<param-value>
			/faces/NONE/*
		</param-value>
	</context-param>
	
	<context-param>
		<param-name>org.richfaces.LoadStyleStrategy</param-name>
		<param-value>#{configurator.loadStyleStrategy}</param-value>
	</context-param>
	<context-param>
		<param-name>org.richfaces.LoadScriptStrategy</param-name>
		<param-value>#{configurator.loadScriptStrategy}</param-value>
	</context-param>
  
    <!-- Seam -->
    
    <listener>
        <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
    </listener>

    <servlet>
        <servlet-name>Seam Resource Servlet</servlet-name>
        <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>Seam Resource Servlet</servlet-name>
        <url-pattern>/seam/resource/*</url-pattern>
    </servlet-mapping>

    <filter>
        <filter-name>Seam Filter</filter-name>
        <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>Seam Filter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>    

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

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

    <!-- Faces Servlet Mapping -->
   
       
    <servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>/faces/NEKO/*</url-pattern>
	</servlet-mapping>
	
	 <servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>/faces/TIDY/*</url-pattern>
 	</servlet-mapping>
	
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>/faces/NONE/*</url-pattern>
	</servlet-mapping>
	
	
	
</web-app>
