<?xml version='1.0' encoding='UTF-8'?>
<faces-config
version="2.2"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
<application>
<locale-config>
<default-locale>ky_KG</default-locale>
</locale-config>
<resource-bundle>
<base-name>com.godoro.jsf.bundles.properties.PageMessages</base-name>
<var>pageMessages</var>
</resource-bundle>
<!--
<system-event-listener>
<system-event-listener-class>
com.godoro.jsf.lifecycle.faces.SystemEventAdapter
</system-event-listener-class>
<system-event-class>
javax.faces.event.PostConstructApplicationEvent
</system-event-class>
<system-event-class>
javax.faces.event.PreDestroyApplicationEvent
</system-event-class>
<system-event-class>
javax.faces.event.PreRenderViewEvent
</system-event-class>
</system-event-listener>
-->
<lifecycle>
<phase-listener>com.godoro.jsf.lifecycle.faces.PhaseAdapter</phase-listener>
</lifecycle>
</application>
<managed-bean>
<managed-bean-name>exampleBean</managed-bean-name>
<managed-bean-class>com.godoro.jsf.beans.faces.ExampleBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>serviceBean</managed-bean-name>
<managed-bean-class>com.godoro.jsf.beans.faces.ServiceBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>clientBean</managed-bean-name>
<managed-bean-class>com.godoro.jsf.beans.faces.ClientBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>serviceField</property-name>
<value>#{serviceBean}</value>
</managed-property>
</managed-bean>
<navigation-rule>
<from-view-id>/navigation/ExplicitForm.xhtml</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/navigation/TargetOnSuccess.xhtml</to-view-id>
<!-- <redirect /> -->
</navigation-case>
<navigation-case>
<from-outcome>fail</from-outcome>
<to-view-id>/navigation/TargetOffFail.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/navigation/StateAwarePage.xhtml</from-view-id>
<navigation-case>
<if>#{stateControlBean.currentState}</if>
<from-outcome>pass</from-outcome>
<to-view-id>/navigation/TargetOnSuccess.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/navigation/StateAwarePage.xhtml</from-view-id>
<navigation-case>
<if>#{not stateControlBean.currentState}</if>
<from-outcome>pass</from-outcome>
<to-view-id>/navigation/TargetOffFail.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
<!--
<converter>
<converter-id>emailConverter</converter-id>
<converter-class>com.godoro.jsf.conversion.faces.EmailConverter</converter-class>
<converter-for-class>com.godoro.jsf.conversion.faces.EmailAddress</converter-for-class>
</converter>
-->
<!--
<validator>
<validator-id>emailValidator</validator-id>
<validator-class>com.godoro.jsf.conversion.faces.EmailValidator</validator-class>
</validator>
-->
</faces-config>
Dosyayı İndir