Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
760 blopes 1
<?xml version="1.0" encoding="UTF-8"?>
2
<faces-config
3
    xmlns="http://xmlns.jcp.org/xml/ns/javaee"
4
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"
6
    version="2.2">
7
 
8
        <application>
9
        <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>
10
 
11
                <!-- 
12
                <resource-bundle>
13
                        <base-name>sistemaProperties</base-name>
14
                        <var>cesmacProperties</var>
15
                </resource-bundle>
16
                -->
17
 
18
                <!-- Application is started -->
19
        <system-event-listener>
20
                    <system-event-listener-class>br.com.ec.web.scope.ViewScopeCallbackRegistrer</system-event-listener-class>
21
                    <system-event-class>javax.faces.event.PostConstructViewMapEvent</system-event-class>
22
                    <source-class>javax.faces.component.UIViewRoot</source-class>
23
                </system-event-listener>
24
 
25
        <!-- Before Application is shut down -->
26
        <system-event-listener>
27
                    <system-event-listener-class>br.com.ec.web.scope.ViewScopeCallbackRegistrer</system-event-listener-class>
28
                    <system-event-class>javax.faces.event.PreDestroyViewMapEvent</system-event-class>
29
                    <source-class>javax.faces.component.UIViewRoot</source-class>
30
                </system-event-listener>
31
 
32
            <locale-config>  
33
                <default-locale>pt_BR</default-locale>  
34
            <supported-locale>pt</supported-locale>  
35
                <supported-locale>en_US</supported-locale>  
36
            </locale-config>
37
    </application>
38
        <lifecycle>
39
                <phase-listener>br.com.ec.web.primefaces.MultiPageMessagesSupport</phase-listener>
40
        </lifecycle>
41
 
42
        <converter>
43
            <converter-id>conversor.Boolean</converter-id>
44
            <converter-class>javax.faces.convert.BooleanConverter</converter-class>  
45
        </converter>
46
</faces-config>