This content has been marked as final.
Show 1 reply
-
1. Re: JBoss 4.2.3 and Facelets?
hainho Nov 27, 2008 7:10 PM (in response to eminil)Hi eminil,
you just add jsf-facelets.jar into you WEB-INF/lib (i use facelets 1.1.12) and config web.xml as following:... <!-- Use Documents Saved as *.xhtml --> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <context-param> <param-name>com.sun.faces.verifyObjects</param-name> <param-value>false</param-value> <!-- <param-value>true</param-value> --> </context-param> <!-- Faces Servlet --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> ...
with faces-config.xml, you config as following:... <application> <view-handler>com.sun.facelets.FaceletViewHandler</view-handler> </application> ...
hope this help.