META-INF.web-fragment.xml Maven / Gradle / Ivy
<web-fragment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-fragment_3_1.xsd" version="3.1"> <!-- <error-page>--> <!-- <exception-type>javax.faces.application.ViewExpiredException</exception-type>--> <!-- <location>/paginas/login/usuarioNaoLogado.xhtml</location>--> <!-- </error-page>--> <error-page> <exception-type>javax.faces.application.ViewExpiredException</exception-type> <location>/paginas/login/paginaExpirada.xhtml</location> </error-page> <context-param> <param-name>primefaces.THEME</param-name> <param-value>none</param-value> <!-- <param-value>nova-ligth</param-value>--> </context-param> <context-param> <param-name>primefaces.skin</param-name> <param-value>none</param-value> </context-param> <context-param> <param-name>com.sun.faces.writeStateAtFormEnd</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>primefaces.FONT_AWESOME</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name> <param-value>true</param-value> </context-param> <!-- <context-param>--> <!-- <param-name>javax.faces.PROJECT_STAGE</param-name>--> <!-- <param-value>Development</param-value>--> <!-- </context-param>--> <context-param> <param-name>primefaces.CLIENT_SIDE_VALIDATION</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>primefaces.TRANSFORM_METADATA</param-name> <param-value>true</param-value> </context-param> <filter> <filter-name>PrimeFaces FileUpload Filter</filter-name> <filter-class>org.primefaces.webapp.filter.FileUploadFilter</filter-class> </filter> <filter-mapping> <filter-name>PrimeFaces FileUpload Filter</filter-name> <servlet-name>Faces Servlet</servlet-name> </filter-mapping> <!-- <error-page>--> <!-- <error-code>404</error-code>--> <!-- <location>/paginas/templates/paginaNaoEncontrada.xhtml</location>--> <!-- </error-page>--> <error-page> <error-code>500</error-code> <location>/paginas/templates/paginaErro.xhtml</location> </error-page> <error-page> <exception-type>br.com.jarch.core.exception.ValidationException</exception-type> <location>/paginas/templates/paginaErro.xhtml</location> </error-page> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping> <mime-mapping> <extension>eot</extension> <mime-type>application/vnd.ms-fontobject</mime-type> </mime-mapping> <mime-mapping> <extension>otf</extension> <mime-type>font/opentype</mime-type> </mime-mapping> <mime-mapping> <extension>ttf</extension> <mime-type>application/x-font-ttf</mime-type> </mime-mapping> <mime-mapping> <extension>woff2</extension> <mime-type>application/x-font-woff</mime-type> </mime-mapping> <mime-mapping> <extension>woff</extension> <mime-type>application/x-font-woff</mime-type> </mime-mapping> <mime-mapping> <extension>sgv</extension> <mime-type>image/sgv+xml</mime-type> </mime-mapping> <mime-mapping> <extension>xhtml</extension> <mime-type>application/xml</mime-type> </mime-mapping> </web-fragment>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy