You need this context parameter in web.xml for facelets
<context-param>
<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>
and these servlets and filters
<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-name>
</filter-mapping>
<servlet>
<servlet-name>faces</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>faces</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
-Richard
On Sat, Oct 3, 2009 at 4:21 PM, baeschtu baeschtu <[email protected]> wrote:
> Thanks! removing faceletviewhandler and upgrading trinidad-api/-impl to
> 1.2.12 worked so far.
>
>
>
> ClassNotFoundException:
> org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler
>
>
> 2009/10/3 Richard Yee <[email protected]>
>>
>> Remove faceletviewhandler from faces-config.XML
>> Read through the Trinidad Wiki on the myfaces site about facelet config w/
>> Trinidad
>>
>> Sent from my iPhone
>> On Oct 3, 2009, at 4:44 AM, baeschtu baeschtu <[email protected]> wrote:
>>
>> After I found some tutorials and updated my config I'm still stuck with
>> the following Exception when I access the website.
>>
>> Exception while calling encodeBegin on component : {Component-Path :
>> [Class: javax.faces.component.UIViewRoot,ViewId: /index.xhtml][Class:
>> javax.faces.component.html.HtmlForm,Id: j_id4]}
>>
>> web.xml and faces-config.xml are attached.
>>
>> my versions:
>> tomahawk 1.1.3
>> jsf-facelets 1.1.14
>> softeu-rewriter 11
>> myfaces-api 1.2.4
>> myfaces-impl 1.2.4
>> jstl 1.1.2
>> trinidad-api 1.2.10
>> trinidad-impl 1.2.10
>>
>> Any help would be appreciated
>> Bast
>>
>>
>>
>> 2009/10/2 baeschtu baeschtu <[email protected]>
>>>
>>> Right, I did not following the installation instructions :-) Thanks for
>>> the help!
>>>
>>>
>>> 2009/10/2 Richard Yee <[email protected]>
>>>>
>>>> You should be using facelets 1.1.14 instead of 1.1.11
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On Oct 2, 2009, at 8:07 AM, baeschtu baeschtu <[email protected]>
>>>> wrote:
>>>>
>>>>> Hello, I'm pretty new to jsf and would like to make a small website. I
>>>>> try to make a tabbed menu with tr:navigationPane but I'm stuck with the
>>>>> following error:
>>>>>
>>>>> WARNING: Could not find renderer for
>>>>> CoreNavigationPane[UIXFacesBeanImpl, id=j_id8] rendererType =
>>>>> org.apache.myfaces.trinidad.Pane
>>>>>
>>>>> my versions:
>>>>> tomahawk 1.1.3
>>>>> jsf-facelets 1.1.11
>>>>> softeu-rewriter 11
>>>>> myfaces-api 1.2.4
>>>>> myfaces-impl 1.2.4
>>>>> jstl 1.1.2
>>>>> trinidad-api 1.2.10
>>>>> trinidad-impl 1.2.10
>>>>>
>>>>> What I'm doing wrong?
>>>>>
>>>>> tnx
>>>>> Bast
>>>
>>
>> <web.xml>
>>
>> <faces-config.xml>
>