> The default in the current 2.0 runtime should be using
> org.apache.mfyaces.application.ViewHandlerImpl, which is a single class
> implementation for both JSP and facelets.  It uses the FactoryFinder to get
> the right ViewDeclarationLanguage implementation depending on whether you're
> using JSP or facelets since nearly all of the actual work is done in the VDL
> classes now.  The old JSP and facelets ViewHandler impls shouldn't really be
> used anymore and as far as I know haven't been updated to the 2.0 spec.

I'm gonna check it tonight (@work now), but the last time I checked, I
saw the ViewHandlerImpl being returned, but I have to check to be
sure.

But you're saying that specifying the <view-handler /> element in
faces-config.xml is redundant and probably incorect? In that case, I'm
gonna remove it and check if it works. I've added it a while ago
because I got the JSP ViewHandler back then. Maybe things have changed
in the meantime.

> If you're getting the JSP VDL back from ViewHandlerImpl, then there is
> something not configured right either.  Maybe in our default config files or
> the factory definition?
> Let me know if you need me to check into it and I should be able to later
> this week.  I'm on vacation visiting family right now though so it might be
> a few days.

Thanks for the offer. I'm gonna debug a bit first, and then I'll come
back to you.

Regards,
Jan-Kees

Reply via email to