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: 2.0.1
Show newest version
<?xml version='1.0' encoding='UTF-8'?>

<!-- =========== Faces configuration FILE ================================== -->

<faces-config version="2.0"
    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">
    
    <name>bootsfaces</name>
    <application>
      <system-event-listener>
         <system-event-listener-class>
            net.bootsfaces.listeners.AddResourcesListener
         </system-event-listener-class>
         <system-event-class>
            javax.faces.event.PreRenderViewEvent
         </system-event-class>    					
      </system-event-listener>
    </application>

	<ordering>
		<after>
			<name>omnifaces</name>
		</after>
	</ordering>
    
    <managed-bean>
        <description>
            <![CDATA[
            This makes an instance of <code>java.util.Date</code> as current datetime available by
            <code>#{now}</code>.
            ]]>
        </description>
        <managed-bean-name>now</managed-bean-name>
        <managed-bean-class>java.util.Date</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
</faces-config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy