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

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

The newest version!
<?xml version="1.0" encoding="UTF-8"?>

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

<faces-config>

    <component>
        <description>
            This component renders client-side Javascript validation.
        </description>
        <display-name>JSFValidator</display-name>
        <component-type>org.andromda.cartridges.jsf.component.JSFValidatorComponent</component-type>
        <component-class>org.andromda.cartridges.jsf.component.JSFValidatorComponent</component-class>
    </component>

    <component>
      <component-type>org.andromda.cartridges.jsf.component.html.HtmlExtendedDataTable</component-type>
      <component-class>org.andromda.cartridges.jsf.component.html.HtmlExtendedDataTable</component-class>
    </component>

    <component>
        <description>
            This component renders the HTML popup frame.
        </description>
        <component-type>org.andromda.cartridges.jsf.HtmlPopupFrame</component-type>
        <component-class>org.andromda.cartridges.jsf.component.html.HtmlPopupFrame</component-class>
    </component>

    <component>
        <description>
            This component renders a binary file (PDF, etc) in the appropriate manner.
        </description>
        <component-type>org.andromda.cartridges.jsf.component.BinaryFile</component-type>
        <component-class>org.andromda.cartridges.jsf.component.BinaryFile</component-class>
    </component>

    <component>
        <description>
            This component sets a transaction token in the parent component's attributes.
        </description>
        <component-type>org.andromda.cartridges.jsf.component.TransactionToken</component-type>
        <component-class>org.andromda.cartridges.jsf.component.TransactionToken</component-class>
    </component>

    <validator>
        <validator-id>org.andromda.cartridges.jsf.validator.JSFValidator</validator-id>
        <validator-class>org.andromda.cartridges.jsf.validator.JSFValidator</validator-class>
    </validator>

    <render-kit>
        <renderer>
            <component-family>org.andromda.cartridges.jsf.Popup</component-family>
            <renderer-type>org.andromda.cartridges.jsf.Popup</renderer-type>
            <renderer-class>org.andromda.cartridges.jsf.renderkit.html.PopupRenderer</renderer-class>
        </renderer>
    </render-kit>

    <render-kit>
        <renderer>
            <component-family>org.andromda.cartridges.jsf.BinaryFile</component-family>
            <renderer-type>org.andromda.cartridges.jsf.BinaryFile</renderer-type>
            <renderer-class>org.andromda.cartridges.jsf.renderkit.BinaryFileRenderer</renderer-class>
        </renderer>
    </render-kit>

    <render-kit>
        <renderer>
            <component-family>org.andromda.cartridges.jsf.TransactionToken</component-family>
            <renderer-type>org.andromda.cartridges.jsf.TransactionToken</renderer-type>
            <renderer-class>org.andromda.cartridges.jsf.renderkit.TransactionTokenRenderer</renderer-class>
        </renderer>
    </render-kit>

    <navigation-rule>
        <navigation-case>
            <from-outcome>closePopup</from-outcome>
            <to-view-id>/jsf/popup/html/closePopup.jsf</to-view-id>
            <redirect/>
        </navigation-case>
        <navigation-case>
            <from-outcome>closePopupRefresh</from-outcome>
            <to-view-id>/jsf/popup/html/closePopupRefresh.jsf</to-view-id>
            <redirect/>
        </navigation-case>
    </navigation-rule>

    <!-- custom converters -->

    <converter>
        <converter-id>andromda.faces.DateTime</converter-id>
        <converter-class>org.andromda.cartridges.jsf.converters.JSFDateTimeConverter</converter-class>
    </converter>

    <!-- custom converters by class -->

    <converter>
        <converter-for-class>java.util.Date</converter-for-class>
        <converter-class>org.andromda.cartridges.jsf.converters.JSFDateTimeConverter</converter-class>
    </converter>
    <converter>
        <converter-for-class>java.util.Calendar</converter-for-class>
        <converter-class>org.andromda.cartridges.jsf.converters.JSFDateTimeConverter</converter-class>
    </converter>
    <converter>
        <converter-for-class>java.util.GregorianCalendar</converter-for-class>
        <converter-class>org.andromda.cartridges.jsf.converters.JSFDateTimeConverter</converter-class>
    </converter>

</faces-config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy