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

Reply via email to