myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek" <martin.marinsc...@gmail.com>
Subject Re: MyFaces and Tiles
Date Wed, 06 Feb 2008 08:06:39 GMT
There is a sample app which shows the interaction - myfaces-tiles in the
myfaces-source-tree. Did you check this out?

regards,

Martin

On Sat, Feb 2, 2008 at 5:36 PM, Jonathan Fullam <jonathanfullam@gmail.com>
wrote:

> Hello,
>
> I've been unsuccessfully trying to integrate tiles 2.0.5 with MyFaces 1.2.
> I'm using Tomahawk-1.1.7.  It appears that the JspTilesTwoViewHandlerImpl
> is being invoked but that the faces servlet is still just using the .jsp
> page rather than looking for the associated .tiles page for the request.
>
> My faces config contains the following:
>
>    <application>
>
>         <view-handler>
>
> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl
>
>       </view-handler>
>
>    </application>
>
> My tiles-defs.xml contains the following:
>
>   <definition name="/profiler.tiles" extends="main.layout">
>
>       <put-attribute name="body"   value="/profiler.jsp"/>
>
>   </definition>
>
> Yet, when I try to access /profiler.faces the faces servlet tries to
> create the faces view using profiler.jsp and not profiler.tiles
>
> Has anybody been able to successfully use MyFaces 1.2 with tiles 2.0.5??
>
> Any help is appreciated.
>



-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message