All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.faces-config.xml Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
<?xml version="1.0"?>


<!DOCTYPE faces-config PUBLIC
  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">


<!--

 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.

 $Id: faces-config.xml 481462 2006-12-02 00:43:07Z craigmcc $

-->


<!-- ====================== SHALE CONFIGURATION FILE ======================= -->


<faces-config>

  <!-- Custom JSF Application Objects -->
  <application>
    <view-handler>
      org.apache.shale.validator.faces.ValidatorViewHandler
    </view-handler>
  </application>

  <!-- Custom Components -->
  <component>
    <description>
      The "ValidatorScript" component emits JavaScript for client-side
      validations. 
    </description>
    <display-name>ValidatorScript</display-name>
    <component-type>org.apache.shale.ValidatorScript</component-type>
    <component-class>org.apache.shale.validator.faces.ValidatorScript</component-class>
  </component>

  <!-- Custom Validators -->
  <validator>
    <validator-id>org.apache.shale.CommonsValidator</validator-id>
    <validator-class>org.apache.shale.validator.CommonsValidator</validator-class>
  </validator>


  <!-- ========== Custom Converters ========== -->

  <converter>
      <converter-id>org.apache.shale.converter.Double</converter-id>
      <converter-class>
          org.apache.shale.validator.converter.DoubleConverter
      </converter-class>
  </converter>

  <converter>
      <converter-id>org.apache.shale.converter.Float</converter-id>
      <converter-class>
          org.apache.shale.validator.converter.FloatConverter
      </converter-class>
  </converter>

  <converter>
      <converter-id>org.apache.shale.converter.Integer</converter-id>
      <converter-class>
          org.apache.shale.validator.converter.IntegerConverter
      </converter-class>
  </converter>

  <converter>
      <converter-id>org.apache.shale.converter.Long</converter-id>
      <converter-class>
          org.apache.shale.validator.converter.LongConverter
      </converter-class>
  </converter>

  <converter>
      <converter-id>org.apache.shale.converter.Short</converter-id>
      <converter-class>
          org.apache.shale.validator.converter.ShortConverter
      </converter-class>
  </converter>


  <!-- ========== Custom Validators ========== -->


  <validator>
      <validator-id>org.apache.shale.validator.Double</validator-id>
      <validator-class>
          org.apache.shale.validator.validator.DoubleValidator
      </validator-class>
  </validator>

  <validator>
      <validator-id>org.apache.shale.validator.Float</validator-id>
      <validator-class>
          org.apache.shale.validator.validator.FloatValidator
      </validator-class>
  </validator>

  <validator>
      <validator-id>org.apache.shale.validator.Integer</validator-id>
      <validator-class>
          org.apache.shale.validator.validator.IntegerValidator
      </validator-class>
  </validator>

  <validator>
      <validator-id>org.apache.shale.validator.Long</validator-id>
      <validator-class>
          org.apache.shale.validator.validator.LongValidator
      </validator-class>
  </validator>

  <validator>
      <validator-id>org.apache.shale.validator.Short</validator-id>
      <validator-class>
          org.apache.shale.validator.validator.ShortValidator
      </validator-class>
  </validator>


</faces-config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy