META-INF.faces-config.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <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"> <name>prettyfaces</name> <ordering> <before> <others/> </before> </ordering> <application> <navigation-handler>com.ocpsoft.pretty.faces2.application.PrettyNavigationHandler</navigation-handler> </application> <lifecycle> <phase-listener>com.ocpsoft.pretty.faces.event.PrettyPhaseListener</phase-listener> </lifecycle> <component> <component-type> com.ocpsoft.pretty.Link </component-type> <component-class> com.ocpsoft.pretty.faces.component.Link </component-class> </component> <component> <component-type> com.ocpsoft.pretty.UrlBuffer </component-type> <component-class> com.ocpsoft.pretty.faces.component.UrlBuffer </component-class> </component> <behavior> <behavior-id> com.ocpsoft.pretty.LocationBehavior </behavior-id> <behavior-class> com.ocpsoft.pretty.faces2.component.LocationBehavior </behavior-class> </behavior> <render-kit> <renderer> <description> Renderer for the pretty link component. </description> <component-family> PRETTY_FACES_FAMILY </component-family> <renderer-type> javax.faces.Link </renderer-type> <renderer-class> com.ocpsoft.pretty.faces.component.renderer.LinkRenderer </renderer-class> </renderer> <renderer> <description> Renderer for the pretty urlbuffer component. </description> <component-family> PRETTY_FACES_FAMILY </component-family> <renderer-type> com.ocpsoft.pretty.UrlBuffer </renderer-type> <renderer-class> com.ocpsoft.pretty.faces.component.renderer.UrlBufferRenderer </renderer-class> </renderer> </render-kit> </faces-config>