I am not sure if this will help you, but here is my web.xml from a dead project I was working on that was Seam/Facelets/Tomahawn/Trinidad:
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>christws-web</display-name> <context-param> <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_METHOD</param-name> <param-value>all</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.CACHE_VIEW_ROOT</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> <param-value>com.christws.faces.CustomViewHandler</param-value> </context-param> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>client</param-value> </context-param> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value> /WEB-INF/tomahawk.taglib.xml; /WEB-INF/tomahawk-sandbox.taglib.xml </param-value> </context-param> <context-param> <param-name>facelets.SKIP_COMMENTS</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>com.christws.VIEWS_CONFIGURATION</param-name> <param-value>/WEB-INF/views.xml</param-value> </context-param> <filter> <filter-name>trinidad</filter-name> <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> </filter> <filter-mapping> <filter-name>trinidad</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter> <filter-name>Seam Filter</filter-name> <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class> </filter> <filter-mapping> <filter-name>Seam Filter</filter-name> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter> <filter-name>MyFacesExtensionsFilter</filter-name> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class> <init-param> <description> Set the size limit for uploaded files. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB </description> <param-name>maxFileSize</param-name> <param-value>20m</param-value> </init-param> </filter> <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/myFacesExtensionResource/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <servlet> <servlet-name>Trinidad Resources</servlet-name> <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Trinidad Resources</servlet-name> <url-pattern>/adf/*</url-pattern> </servlet-mapping> <servlet> <servlet-name>Seam Resource Servlet</servlet-name> <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Seam Resource Servlet</servlet-name> <url-pattern>/seam/resource/*</url-pattern> </servlet-mapping> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <listener> <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> </listener> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.jsf</welcome-file> </welcome-file-list> </web-app> -Andrew On Wed, Apr 16, 2008 at 4:02 AM, Nuno Sousa <[EMAIL PROTECTED]> wrote: > Thanks for the tips people but it isn't working i tried to change the > position of the trinidad / myextensions filter but nothing... it's a weird > message because seems like trinidad filter is not ok, but the trinidad > components are rendered, only tomahawk are not. > I think it's better i try another aproach instead of using tomahawk :P. I'm > trying to create a treetable and i just used tomahawk because the examples > in the page ( http://www.irian.at/myfacesexamples/treeTable.jsf ) include > also the java code, because with trinidad i'm only getting the root node > like this: http://img411.imageshack.us/img411/3844/treetabletrinidadnw2.png > > > Thanks for any help/ideas :-) > > > > > > On Wed, Apr 16, 2008 at 7:51 AM, Matthias Wessendorf <[EMAIL PROTECTED]> > wrote: > > > > On Wed, Apr 16, 2008 at 8:45 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > I believe Nuno has an app that worked fine *until* tomahawk was added to > > > the project. After adding tomahawk, there is now a trinidad internal > > > error. So it's some kind of interaction problem between tomahawk and > > due to installation of the filters (IMO, see previous posts) > > > > > trinidad. There might well be other problems with trinidad/richfaces, > > > but that doesn't seem to be the cause of this specific problem. > > or perhaps all three of them ? > > > > > > > > > > However as the error message was one from Trinidad, I suggested posting > > > with trinidad in the subject: > > > > > > > > > 15:13:45,256 ERROR [STDERR] 15/Abr/2008 15:13:45 > > > > > org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit > > > > > createResponseWriter > > > > > > SEVERE: No RenderingContext has been created. > > > > > > Can some Trinidad person suggest why "No RenderingContext" might > happen? > > > > Andrew and I said already, that it is related to the filter order.. > > > > > > > > > > > > > > Andrew's suggestion of checking the filter order in web.xml is a good > one. Moving the ExtensionsFilter to the start or end of the filters list is > worth trying. > > > > > > Regards, > > > Simon > > > > > > > > > Andrew Robinson schrieb: > > > > > > > Tomahawk, Facelets, Trinidad and Seam all play well for the most part > > > > (Seam components, not the framework, have had issues with Trinidad > > > > though). > > > > > > > > Looks like a filter problem to me. I did not reply as I keep > > > > recommending to ppl. to not use RichFaces or A4J with Trinidad, and > > > > did not want to beat that dead horse. > > > > > > > > My recommendation is to delete your web.xml and re-build it using the > > > > one from the trinidad-demo project. Filters must be in the correct > > > > order or things will blow up. > > > > > > > > On Tue, Apr 15, 2008 at 10:55 AM, Matthias Wessendorf > <[EMAIL PROTECTED]> wrote: > > > > > > > >> On Tue, Apr 15, 2008 at 6:54 PM, Matthias Wessendorf > <[EMAIL PROTECTED]> wrote: > > > >> > No need to resend mails every hour :-) > > > >> > > > > >> > I basically never used Seam. > > > >> > My guess is that something with the filters now went wrong... > > > >> > > > >> here is some doc: > > > >> -http://wiki.apache.org/myfaces/Trinidad_And_Seam > > > >> -http://wiki.apache.org/myfaces/TrinidadSeamAjax4Jsf > > > >> -http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail > > > >> > > > >> > > > >> Andrew, > > > >> have you used Tomahawk AND Trinidad w/ Seam ? > > > >> > > > >> -Matthias > > > >> > > > >> > > > >> > > > >> >is experiencing is that ever > > > > > > > > > >> > > > > >> > > > > >> > On Tue, Apr 15, 2008 at 6:42 PM, Nuno Sousa > <[EMAIL PROTECTED]> wrote: > > > >> > > > > > >> > > > > > >> > > > > > >> > > On Tue, Apr 15, 2008 at 4:03 PM, Nuno Sousa > <[EMAIL PROTECTED]> wrote: > > > >> > > > Hi, > > > >> > > > > > > >> > > > Im using seam+richfaces+trinidad+tomahawk > > > >> > > > > > > >> > > > When i was not using tomahawk everything was fine, but now > after adding > > > >> > > tomahawk i got this messages: > > > >> > > > > > > >> > > > (...) > > > >> > > > 15:13:40,095 ERROR [STDERR] 15/Abr/2008 15:13:40 > > > >> > > com.sun.facelets.compiler.TagLibraryConfig loadImplicit > > > >> > > > INFO: Added Library from: > > > >> > > > jar:file:/C:/tools/SeamRF/jboss-4.2.2.GA/server/default/deploy/seamRFProj.ear/seamRFProj.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] No context init parameter > > > >> > > 'org.apache.myfaces.PRETTY_HTML' found, using default value > true > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] No context init parameter > > > >> > > 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default > value true > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] No context init parameter > > > >> > > 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, > using default > > > >> > > value true > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] No context init parameter > > > >> > > 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default > value false > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] No context init parameter > > > >> > > 'org.apache.myfaces.AUTO_SCROLL' found, using default value > false > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] No context init parameter > > > >> > > 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using > default value > > > >> > > /faces/myFacesExtensionResource > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] No context init parameter > > > >> > > 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using > default value true > > > >> > > > 15:13:45,174 INFO [MyfacesConfig] Starting up Tomahawk on > the > > > >> > > RI-JSF-Implementation. > > > >> > > > 15:13:45,256 ERROR [STDERR] 15/Abr/2008 15:13:45 > > > >> > > > org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit > > > >> > > createResponseWriter > > > >> > > > SEVERE: No RenderingContext has been created. > > > >> > > > 15:13:45,350 ERROR [STDERR] 15/Abr/2008 15:13:45 > > > >> > > > org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit > > > >> > > createResponseWriter > > > >> > > > SEVERE: No RenderingContext has been created. > > > >> > > > (...) > > > >> > > > > > > >> > > > > > > >> > > > My web.xml: > > > >> > > > <?xml version="1.0" ?> > > > >> > > > <web-app xmlns="http://java.sun.com/xml/ns/javaee" > > > >> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > >> > > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > > > >> > > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > version="2.5"> > > > >> > > > > > > >> > > > <!-- Ajax4jsf --> > > > >> > > > > > > >> > > > <context-param> > > > >> > > > <param-name>org.richfaces.SKIN</param-name> > > > >> > > > <param-value>blueSky</param-value> > > > >> > > > </context-param> > > > >> > > > > > > >> > > > <filter> > > > >> > > > <display-name>RichFaces Filter</display-name> > > > >> > > > <filter-name>richfaces</filter-name> > > > >> > > > <filter-class>org.ajax4jsf.Filter</filter-class> > > > >> > > > </filter> > > > >> > > > > > > >> > > > <filter-mapping> > > > >> > > > <filter-name>richfaces</filter-name> > > > >> > > > <servlet-name>Faces Servlet</servlet-name> > > > >> > > > <dispatcher>REQUEST</dispatcher> > > > >> > > > <dispatcher>FORWARD</dispatcher> > > > >> > > > <dispatcher>INCLUDE</dispatcher> > > > >> > > > </filter-mapping> > > > >> > > > > > > >> > > > <!-- Seam --> > > > >> > > > > > > >> > > > <listener> > > > >> > > > > > > >> > > > <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> > > > >> > > > </listener> > > > >> > > > > > > >> > > > <filter> > > > >> > > > <filter-name>Seam Filter</filter-name> > > > >> > > > > <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class> > > > >> > > > </filter> > > > >> > > > > > > >> > > > <filter-mapping> > > > >> > > > <filter-name>Seam Filter</filter-name> > > > >> > > > <url-pattern>/*</url-pattern> > > > >> > > > </filter-mapping> > > > >> > > > > > > >> > > > <servlet> > > > >> > > > <servlet-name>Seam Resource Servlet</servlet-name> > > > >> > > > > > > >> > > > <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class> > > > >> > > > </servlet> > > > >> > > > > > > >> > > > <servlet-mapping> > > > >> > > > <servlet-name>Seam Resource Servlet</servlet-name> > > > >> > > > <url-pattern>/seam/resource/*</url-pattern> > > > >> > > > </servlet-mapping> > > > >> > > > > > > >> > > > <!-- Facelets development mode (disable in production) > --> > > > >> > > > > > > >> > > > <context-param> > > > >> > > > <param-name>facelets.DEVELOPMENT</param-name> > > > >> > > > <param-value>true</param-value> > > > >> > > > </context-param> > > > >> > > > > > > >> > > > <!-- JSF --> > > > >> > > > > > > >> > > > <context-param> > > > >> > > > <param-name>javax.faces.DEFAULT_SUFFIX</param-name> > > > >> > > > <param-value>.xhtml</param-value> > > > >> > > > </context-param> > > > >> > > > > > > >> > > > <servlet> > > > >> > > > <servlet-name>Faces Servlet</servlet-name> > > > >> > > > > <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> > > > >> > > > <load-on-startup>1</load-on-startup> > > > >> > > > </servlet> > > > >> > > > > > > >> > > > <servlet-mapping> > > > >> > > > <servlet-name>Faces Servlet</servlet-name> > > > >> > > > <url-pattern>*.seam</url-pattern> > > > >> > > > </servlet-mapping> > > > >> > > > > > > >> > > > <security-constraint> > > > >> > > > <display-name>Restrict raw XHTML > Documents</display-name> > > > >> > > > <web-resource-collection> > > > >> > > > <web-resource-name>XHTML</web-resource-name> > > > >> > > > <url-pattern>*.xhtml</url-pattern> > > > >> > > > </web-resource-collection> > > > >> > > > <auth-constraint /> > > > >> > > > </security-constraint> > > > >> > > > > > > >> > > > <!-- Trinidad --> > > > >> > > > > > > >> > > > <filter> > > > >> > > > <filter-name>trinidad</filter-name> > > > >> > > > > > > >> > > > <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> > > > >> > > > </filter> > > > >> > > > > > > >> > > > <filter-mapping> > > > >> > > > <filter-name>trinidad</filter-name> > > > >> > > > <!-- This assumes that the FacesServlet has been > registered --> > > > >> > > > <!-- under the name "faces" --> > > > >> > > > <servlet-name>faces</servlet-name> > > > >> > > > </filter-mapping> > > > >> > > > > > > >> > > > <servlet> > > > >> > > > <servlet-name>resources</servlet-name> > > > >> > > > > > > >> > > > <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class> > > > >> > > > </servlet> > > > >> > > > > > > >> > > > <!-- This cannot be configured currently --> > > > >> > > > <servlet-mapping> > > > >> > > > <servlet-name>resources</servlet-name> > > > >> > > > <url-pattern>/adf/*</url-pattern> > > > >> > > > </servlet-mapping> > > > >> > > > > > > >> > > > <context-param> > > > >> > > > > <param-name>javax.faces.STATE_SAVING_METHOD</param-name> > > > >> > > > <param-value>client</param-value> > > > >> > > > </context-param> > > > >> > > > > > > >> > > > <context-param> > > > >> > > > > > > >> > > > <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> > > > >> > > > > <param-value>com.sun.facelets.FaceletViewHandler</param-value> > > > >> > > > </context-param> > > > >> > > > > > > >> > > > <context-param> > > > >> > > > <param-name>facelets.VIEW_MAPPINGS</param-name> > > > >> > > > <param-value>*.xhtml</param-value> > > > >> > > > </context-param> > > > >> > > > > > > >> > > > <!-- Tomahawk --> > > > >> > > > <context-param> > > > >> > > > > <param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name> > > > >> > > > > > > >> > > > <param-value>org.apache.myfaces.component.html.util.StreamingAddResource</param-value> > > > >> > > > </context-param> > > > >> > > > > > > >> > > > <filter> > > > >> > > > <filter-name>MyFacesExtensionsFilter</filter-name> > > > >> > > > > > > >> > > > <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class> > > > >> > > > <init-param> > > > >> > > > <param-name>maxFileSize</param-name> > > > >> > > > <param-value>20m</param-value> > > > >> > > > </init-param> > > > >> > > > </filter> > > > >> > > > > > > >> > > > <!-- extension mapping for adding <script/>, <link/>, > and other > > > >> > > resource tags to JSF-pages --> > > > >> > > > <filter-mapping> > > > >> > > > <filter-name>MyFacesExtensionsFilter</filter-name> > > > >> > > > <!-- servlet-name must match the name of your > > > >> > > javax.faces.webapp.FacesServlet entry --> > > > >> > > > <servlet-name>Faces Servlet</servlet-name> > > > >> > > > </filter-mapping> > > > >> > > > > > > >> > > > <!-- extension mapping for serving page-independent > resources > > > >> > > (javascript, stylesheets, images, etc.) --> > > > >> > > > <filter-mapping> > > > >> > > > <filter-name>MyFacesExtensionsFilter</filter-name> > > > >> > > > > <url-pattern>/faces/myFacesExtensionResource/*</url-pattern> > > > >> > > > </filter-mapping> > > > >> > > > > > > >> > > > <!-- extension mapping for adding <script/>, <link/>, > and other > > > >> > > resource tags to JSF-pages --> > > > >> > > > <filter-mapping> > > > >> > > > <filter-name>MyFacesExtensionsFilter</filter-name> > > > >> > > > <url-pattern>*.xhtml</url-pattern> > > > >> > > > </filter-mapping> > > > >> > > > > > > >> > > > </web-app> > > > >> > > > > > > >> > > > > > > >> > > > And tomahawk components aren't getting rendered, but > trinidad components > > > >> > > are just fine. > > > >> > > > Any idea? > > > >> > > > > > > >> > > > Thanks > > > >> > > > > > > >> > > > -- > > > >> > > > Ping is just a number timming is everything > > > >> > > > > > >> > > > > > >> > > > > > >> > > -- > > > >> > > Ping is just a number timming is everything > > > >> > > > > >> > > > > >> > > > > >> > -- > > > >> > Matthias Wessendorf > > > >> > > > > >> > further stuff: > > > >> > blog: http://matthiaswessendorf.wordpress.com/ > > > >> > sessions: http://www.slideshare.net/mwessendorf > > > >> > mail: matzew-at-apache-dot-org > > > >> > > > > >> > > > >> > > > >> > > > >> -- > > > >> Matthias Wessendorf > > > >> > > > >> further stuff: > > > >> blog: http://matthiaswessendorf.wordpress.com/ > > > >> sessions: http://www.slideshare.net/mwessendorf > > > >> mail: matzew-at-apache-dot-org > > > >> > > > >> > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Matthias Wessendorf > > > > further stuff: > > blog: http://matthiaswessendorf.wordpress.com/ > > sessions: http://www.slideshare.net/mwessendorf > > mail: matzew-at-apache-dot-org > > > > > > -- > > Ping is just a number timming is everything

