>From: "Jörn Zaefferer" <[EMAIL PROTECTED]> >Isn't the delegation supposed to allow registering of more then one view >handler? >
Yes, but you can not control the order they are registered. You might have a scenario where your view handler is registered before a greedy view handler that wants the hook you are trying to override. Gary >>>On 3/27/07, Brad Smith < [EMAIL PROTECTED]> 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> >>