| <?xml version="1.0" encoding="utf-8"?> |
| |
| <!-- |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| --> |
| |
| <faces-config xmlns="http://java.sun.com/xml/ns/javaee" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" |
| version="2.0"> |
| |
| <!-- Initial application element with partial values --> |
| |
| <application> |
| <action-listener>org.apache.myfaces.application.ActionListenerImpl</action-listener> |
| <view-handler>org.apache.myfaces.application.ViewHandlerImpl</view-handler> |
| <state-manager>org.apache.myfaces.application.StateManagerImpl</state-manager> |
| <navigation-handler>org.apache.myfaces.application.NavigationHandlerImpl</navigation-handler> |
| <resource-handler>org.apache.myfaces.application.ResourceHandlerImpl</resource-handler> |
| <!-- |
| NOTE that the BeanValidator will be registered programmatically in |
| FacesConfigurator.configureApplication() if bean validation is available. |
| --> |
| </application> |
| <factory> |
| <application-factory>org.apache.myfaces.application.ApplicationFactoryImpl</application-factory> |
| <exception-handler-factory>org.apache.myfaces.context.ExceptionHandlerFactoryImpl</exception-handler-factory> |
| <external-context-factory>org.apache.myfaces.context.ExternalContextFactoryImpl</external-context-factory> |
| <faces-context-factory>org.apache.myfaces.context.FacesContextFactoryImpl</faces-context-factory> |
| <partial-view-context-factory>org.apache.myfaces.context.PartialViewContextFactoryImpl</partial-view-context-factory> |
| <lifecycle-factory>org.apache.myfaces.lifecycle.LifecycleFactoryImpl</lifecycle-factory> |
| <render-kit-factory>org.apache.myfaces.renderkit.RenderKitFactoryImpl</render-kit-factory> |
| <visit-context-factory>org.apache.myfaces.component.visit.VisitContextFactoryImpl</visit-context-factory> |
| <view-declaration-language-factory>org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl</view-declaration-language-factory> |
| <tag-handler-delegate-factory>org.apache.myfaces.view.facelets.tag.jsf.TagHandlerDelegateFactoryImpl</tag-handler-delegate-factory> |
| <client-window-factory>org.apache.myfaces.lifecycle.clientwindow.ClientWindowFactoryImpl</client-window-factory> |
| </factory> |
| |
| <!-- behaviors by id --> |
| <behavior> |
| <behavior-id>javax.faces.behavior.Ajax</behavior-id> |
| <behavior-class>javax.faces.component.behavior.AjaxBehavior</behavior-class> |
| </behavior> |
| |
| <!-- standard converters by class --> |
| |
| <converter> |
| <converter-for-class>java.math.BigDecimal</converter-for-class> |
| <converter-class>javax.faces.convert.BigDecimalConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.math.BigInteger</converter-for-class> |
| <converter-class>javax.faces.convert.BigIntegerConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Boolean</converter-for-class> |
| <converter-class>javax.faces.convert.BooleanConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Byte</converter-for-class> |
| <converter-class>javax.faces.convert.ByteConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Character</converter-for-class> |
| <converter-class>javax.faces.convert.CharacterConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Double</converter-for-class> |
| <converter-class>javax.faces.convert.DoubleConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Enum</converter-for-class> |
| <converter-class>javax.faces.convert.EnumConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Float</converter-for-class> |
| <converter-class>javax.faces.convert.FloatConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Integer</converter-for-class> |
| <converter-class>javax.faces.convert.IntegerConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Long</converter-for-class> |
| <converter-class>javax.faces.convert.LongConverter</converter-class> |
| </converter> |
| <converter> |
| <converter-for-class>java.lang.Short</converter-for-class> |
| <converter-class>javax.faces.convert.ShortConverter</converter-class> |
| </converter> |
| |
| </faces-config> |