You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Yu...@muranosoft.com on 2006/04/07 17:08:03 UTC
MyFaces JSF & Facelets
Hi, I just want to realize impacts: can Facelets works with MyFace JSF. For
example:
* I have mapping to *.faces all JSF pages (MyFaces, Tomahawk)
* Want to add mapping to Facelets page like *.jsf
Are all my *.faces and *.jsf pages will work?
I mean in my faces-config.xml file I have
<faces-config>
<application>
<view-handler>
com.sun.facelets.FaceletViewHandler
</view-handler>
</application>
Is this view handler will touch my *.faces pages?
Thanks,
Yura.
Re: MyFaces JSF & Facelets
Posted by Anthony Hong <an...@gmail.com>.
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces </url-pattern>
</servlet-mapping>
Put in web.xml. map url pattern to your face servlet
On 4/7/06, Yura.Tkachenko@muranosoft.com <Yu...@muranosoft.com> wrote:
>
>
>
> Hi, I just want to realize impacts: can Facelets works with MyFace JSF. For
> example:
> I have mapping to *.faces all JSF pages (MyFaces, Tomahawk)
> Want to add mapping to Facelets page like *.jsf
>
>
>
> Are all my *.faces and *.jsf pages will work?
>
> I mean in my faces-config.xml file I have
>
> <faces-config>
>
>
>
> <application>
>
> <view-handler>
>
> com.sun.facelets.FaceletViewHandler
>
> </view-handler>
>
> </application>
>
>
>
> Is this view handler will touch my *.faces pages?
>
>
>
> Thanks,
>
> Yura.
--
Anthony Hong