myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jörn Zaefferer" <joern.zaeffe...@googlemail.com>
Subject Re: Custom ViewHandlers
Date Tue, 27 Mar 2007 15:12:35 GMT
Isn't the delegation supposed to allow registering of more then one view
handler?

On 3/27/07, Brad Smith <bgsmith@bendcable.com> wrote:
>
> Thank you Simon. Do you by chance know what to do when also using
> something like Facelets which also has a custom ViewHandler? I mean as
> far as how the faces config file would be set up?
>
> Thanks,
>
> Brad Smith
>
> On Tue, 2007-03-27 at 13:00 +1200, Simon Kitching wrote:
> > First write a subclass of ViewHandler that takes another ViewHandler as
> > a parameter to the constructor. This constructor will be called passing
> > the "preceding" viewhandler instance so you can chain calls to it from
> > your custom class.
> >
> > Second, add the following to your faces config file:
> >    <application>
> >      <view-handler>example.MyViewHandler</view-handler>
> >    </application>
> >
>
>
>

Mime
View raw message