Not sure this is relevant to the exception you mentioned, but....

You should remove the view-handler config from faces-config.xml.

Ajax4jsf requires it to be defined like this in web.xml


  |     <context-param>
  |         <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
  |         <param-value>com.sun.facelets.FaceletViewHandler</param-value>
  |     </context-param>
  | 

Optionally you can also add these facelets specific params to web.xml

  |     <context-param>
  |             <param-name>facelets.REFRESH_PERIOD</param-name>
  |             <param-value>2</param-value>
  |     </context-param>
  |         <!-- add this for tomahw and your own taglibs-->
  |     <context-param>
  |             <param-name>facelets.LIBRARIES</param-name>
  |             <param-value>
  |                     /WEB-INF/tomahawk.taglib.xml;
  |                     /WEB-INF/source-tags.taglib.xml
  |             </param-value>
  |     </context-param>
  |         <!-- gives you a nicer error page -->
  |     <context-param>
  |             <param-name>facelets.DEVELOPMENT</param-name>
  |             <param-value>true</param-value>
  |     </context-param>
  |     <context-param>
  |             <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
  |             <param-value>.xhtml</param-value>
  |     </context-param>
  | 

Hope this helps,
 Mike

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

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

Reply via email to