Jan-Kees,

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.

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.
Mike

Jan-Kees van Andel wrote:
Hey,

I'm currently testing my bean validation code with a simple test
webapp. That part seems to work fine, but there is a problem.

When I encounter validation errors (required, standard validators,
BeanValidator), I see an empty page. When debugging, I see an empty
UIViewRoot.

I'm using the MyFaces Facelets ViewHandler. I've declared it in my
faces-config.xml, because otherwise, I ended up with the JSP
ViewHandler.

Do you guys also encounter this behavior or is it my local environment?

Curtiss? Have you seen something like this in your test?

Regards,
Jan-Kees


Reply via email to