[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

mail.micke@gmail.com do-not-reply at jboss.com
Tue Aug 14 06:59:48 EDT 2007


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



More information about the jboss-user mailing list