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

Reply via email to