right, and! make sure that <servlet-name>faces</servlet-name> is really mapping to the FacesServelt
-M On 10/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Andreas > > I think you forgot the servlet mappings. > > cheers lorin > > ________________________________________ > From: Andreas Kramer [EMAIL PROTECTED] > Sent: 29 October 2007 13:59 > To: 'MyFaces Discussion' > Subject: AW: Installing Trinidad > > Hi > > I've added: (to web.xml) > > <filter> > <filter-name>trinidad</filter-name> > > <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-clas > s> > </filter> > <filter-mapping> > <filter-name>trinidad</filter-name> > <servlet-name>faces</servlet-name> > </filter-mapping> > <!-- resource loader servlet --> > <servlet> > <servlet-name>resources</servlet-name> > > <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-c > lass> > </servlet> > > But it's still not working. > > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von > Matthias Wessendorf > Gesendet: Montag, 29. Oktober 2007 13:48 > An: MyFaces Discussion > Betreff: Re: Installing Trinidad > > you need the TrinidadFilter and the resourceServlet as well. > > See the web.xml file from our demo app: > http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-exampl > es/trinidad-demo/src/main/webapp/WEB-INF/web.xml?view=markup > > -M > > On 10/29/07, Andreas Kramer <[EMAIL PROTECTED]> wrote: > > Hi > > > > Thanks fort he response. Think that I got one step further. > > > > No I receive this error in my console: > > > > 29.10.2007 13:30:23 > > org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit > > createResponseWriter > > SCHWERWIEGEND: No RenderingContext has been created. > > > > __________ > > I've added this line to the faces-config according to the wiki: > > > > <!-- Use the Trinidad RenderKit --> > > <default-render-kit-id> > > org.apache.myfaces.trinidad.core > > </default-render-kit-id> > > </application> > > > > Additionally I added the following entries to the web.xml: > > > > <context-param> > > > > > <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> > > <param-value>com.sun.facelets.FaceletViewHandler</param-value> > > </context-param> > > > > <!-- Use documents saved as *.xhtml for Facelets --> > > <context-param> > > <param-name>facelets.VIEW_MAPPINGS</param-name> > > <param-value>*.xhtml</param-value> > > </context-param> > > > > Any idea? > > > > Regards > > > > -----Ursprüngliche Nachricht----- > > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von > > Matthias Wessendorf > > Gesendet: Montag, 29. Oktober 2007 12:31 > > An: MyFaces Discussion > > Betreff: Re: Installing Trinidad > > > > no, you have to configure some entries > > > > find more here: > > > > http://wiki.apache.org/myfaces/Facelets_with_Trinidad > > > > -M > > > > On 10/29/07, Andreas Kramer <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > Hey Guys > > > > > > > > > > > > Maybe you can help me installing my Trinidad. > > > > > > > > > > > > I tried to use a simple tr:ouputText to test if my Trinidad impl is > > > installed correcty. > > > > > > Unfortunately I got this error in my console: > > > > > > > > > > > > Could not find renderer for > > > CoreOutputText[UIXFacesBeanImpl, id=j_id_jsp_2003894837_2] > > > rendererType = org.apache.myfaces.trinidad.Text > > > > > > > > > > > > Therefore I guess it was not installed correctly, so this is what I have > > > done. > > > > > > > > > > > > WEB-INF/LIB > > > > > > > > > > > > commons-beanutils-1.7.0.jar > > > > > > commons-collections-3.2.jar > > > > > > commons-digester-1.8.jar > > > > > > commons-logging-1.0.4.jar > > > > > > jhighlight-1.0.jar > > > > > > jsf-api-1.2_04-p02.jar > > > > > > jsf-facelets-1.1.12.jar > > > > > > jsf-impl-1.2_04-p02.jar > > > > > > jstl-1.0.jar > > > > > > nekohtml-0.9.5.jar > > > > > > richfaces-api-3.1.1-GA.jar > > > > > > richfaces-impl-3.1.1-GA.jar > > > > > > richfaces-ui-3.1.1-GA.jar > > > > > > trinidad-api-1.2.3.jar > > > > > > trinidad-impl-1.2.3.jar > > > > > > xercesImpl-2.4.0.jar > > > > > > > > > > > > I just imported the trinidad –api and impl to the WEB-INF/LIB directory > > and > > > modified nothing in the faces-config or web.xml, as I think this entries > > are > > > just optional. > > > > > > > > > > > > This is my test page: > > > > > > > > > > > > <%@ page language="java" contentType="text/html; charset=ISO-8859-1" > > > > > > pageEncoding="ISO-8859-1"%> > > > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > > > "http://www.w3.org/TR/html4/loose.dtd"> > > > > > > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> > > > > > > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> > > > > > > <%@ taglib uri="http://richfaces.org/rich" prefix="r"%> > > > > > > <%@ taglib uri="http://myfaces.apache.org/trinidad" > > > prefix="tr"%> > > > > > > <html> > > > > > > <head> > > > > > > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > > > > > > <title>Insert title here</title> > > > > > > <link rel="stylesheet" type="text/css" href="css/styles.css"> > > > > > > </head> > > > > > > <body> > > > > > > <f:view> > > > > > > <r:toolBar itemSeparator="line"> > > > > > > <r:toolBarGroup> > > > > > > test2 > > > > > > </r:toolBarGroup> > > > > > > <r:toolBarGroup> > > > > > > test1 > > > > > > test2 > > > > > > </r:toolBarGroup> > > > > > > </r:toolBar> > > > > > > <r:panelBar width="200"> > > > > > > <r:panelBarItem label="Menu 1"> > > > > > > test > > > > > > </r:panelBarItem> > > > > > > <r:panelBarItem label="Menu 2"> > > > > > > test > > > > > > </r:panelBarItem> > > > > > > </r:panelBar> > > > > > > <h:outputText value="#{testBean.test}" /> > > > > > > <r:calendar> > > > > > > </r:calendar> > > > > > > <tr:chart value="#{testBean.newChart}" type="line" /> > > > > > > <tr:outputText value="basic"></tr:outputText> > > > > > > </f:view> > > > > > > </body> > > > > > > </html> > > > > > > > > > > > > > > > > > > Anyone can tell me what i forgot? > > > > > > > > > > > > Thanks in advance > > > > > > > > > > > > Cheers, > > > > > > > > > > > > Andreas > > > > > > -- > > Matthias Wessendorf > > > > further stuff: > > blog: http://matthiaswessendorf.wordpress.com/ > > mail: matzew-at-apache-dot-org > > > > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > mail: matzew-at-apache-dot-org > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org

