Got it working (mostly). I had to make a couple changes:
1: Use FaceletPortletViewHandler instead of FaceletViewHandler.
2: Comment out org.apache.myfaces.webapp.StartupServletContextListener in web.xml. This
causes an error when I deploy the app:
2006-07-19 14:37:04,734 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-hibernate]] Servlet
/seam-hibernate threw load() exception
| java.lang.IllegalStateException: No Factories configured for this Application. This
happens if the faces-initialization does not work at all - make sure that you properly
include all configuration settings necessary for a basic faces application and that all
the necessary libs are included. Also check the logging output of your web application and
your container for any exceptions!
| If you did that and find nothing, the mistake might be due to the fact that you use
some special web-containers which do not support registering context-listeners via TLD
files and a context listener is not setup in your web.xml.
| A typical config looks like this;
| <listener>
|
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
| </listener>
|
but it seems to work anyway...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959352#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...