You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Zarick Lau <za...@gmail.com> on 2007/09/03 12:14:41 UTC
[Trinidad] Possible to implement app specific view handler under Trinidad?
Dear User and Devs,
My project use Facelets and Trinidad.
Currently, the facelets ViewHandler is configure using the
trinidad's context param in web.xml
(org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER).
So everything goes smoothly, but now, I would
like to implement our app specific ViewHanlder (to handle
authorization stuff), how can I add my ViewHandler into picture??
Env: Trinidad 1.2.1 / Faclets 1.1.12 / JSF 1.2 RI
Best regards,
Zarick
Re: [Trinidad] Possible to implement app specific view handler under Trinidad?
Posted by Andrew Robinson <an...@gmail.com>.
Since Trindad delegates to the ALTERNATE one, what you can do:
Extend FaceletViewHandler with your custom one. Then register that one
as the org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER
On 9/3/07, Zarick Lau <za...@gmail.com> wrote:
> Dear User and Devs,
>
> My project use Facelets and Trinidad.
> Currently, the facelets ViewHandler is configure using the
> trinidad's context param in web.xml
> (org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER).
>
> So everything goes smoothly, but now, I would
> like to implement our app specific ViewHanlder (to handle
> authorization stuff), how can I add my ViewHandler into picture??
>
> Env: Trinidad 1.2.1 / Faclets 1.1.12 / JSF 1.2 RI
>
> Best regards,
> Zarick
>