You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by omid p <ve...@gmail.com> on 2010/03/01 14:53:29 UTC

[Trinidad] Tiles

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 ?

Re: [Trinidad] Tiles

Posted by omid p <ve...@gmail.com>.
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 <ma...@apache.org>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 <ve...@gmail.com> 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
>

Re: [Trinidad] Tiles

Posted by Matthias Wessendorf <ma...@apache.org>.
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 <ve...@gmail.com> 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