[jboss-user] [JBoss Seam] - Re: Any experience with SeamFaceletViewHandler?

SmokingAPipe do-not-reply at jboss.com
Tue Dec 26 01:46:36 EST 2006


Ok, I'm running plain vanilla JBoss 4.0.5 with whatever Tomcat it comes with, meaning that I'm using JSP 2.0, so that shouldn't be a problem.

"norman.richards at jboss.com" wrote : Oh, and Facelets is trivial to set up.   Have a look at the examples.   I would NEVER go back to plain JSPs unless forced to.

Here's what I tried:

I put the following in my faces-config.xml:

    <application>
  |         <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
  |     </application>
  | 

which should just activate the Seam view handler, right?  But then I get these exceptions:

Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
  | java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler

So I assume that if I put the right jars into my WEB-INF/lib, that would solve that exception, right?  Any suggestions on which jars?  Do I need to remove any jars from JBoss or do anything like that?

Thanks


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996242



More information about the jboss-user mailing list