Hi Matthias
as you recommend i decide to using facelets and found this confige in
web.xml
<!-- Uncomment the below for use with Facelets -->
  <context-param>

<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>

<param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
  </context-param>

  <context-param>

<param-name>org.apache.myfaces.trinidad.FACELETS_VIEW_MAPPINGS</param-name>
    <param-value>*.xhtml</param-value>
  </context-param>

  <context-param>
    <param-name>facelets.SKIP_COMMENTS</param-name>
    <param-value>true</param-value>
  </context-param>

but unfortunately facelet does not load and no exceptions occur

<ui:composition template="p1.xhtml">
        <ui:define name="pageHeader" >
        <ui:include src="p1.xhtml"/>
        </ui:define>
</ui:composition>

Am i missing something ? does facelet works correctly with trinidad ?


On Mon, Mar 1, 2010 at 5:30 PM, Matthias Wessendorf <[email protected]>wrote:

> I'd strongly recommend to go with Facelets.
> Also the next Facelets version is part of JSF2, so you already learn
> future technologies today.
>
> -M
>
> On Mon, Mar 1, 2010 at 2:53 PM, omid p <[email protected]> wrote:
> > Hi,
> > I have a problem to using apache tiles in trinidad i want to know
> > is that possible ? and which way is better to config it ?
> >
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>

Reply via email to