myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Trinidad rendering problem
Date Tue, 15 Apr 2008 16:55:55 GMT
On Tue, Apr 15, 2008 at 6:54 PM, Matthias Wessendorf <matzew@apache.org> 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

>
>
>
>  On Tue, Apr 15, 2008 at 6:42 PM, Nuno Sousa <wizard.night@gmail.com> wrote:
>  >
>  >
>  >
>  > On Tue, Apr 15, 2008 at 4:03 PM, Nuno Sousa <wizard.night@gmail.com> 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

Mime
View raw message