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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192906#4192906

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192906
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to