[jsr-314-open-mirror] [jsr-314-open] 490-XmlViews Processing JSPX files as Facelets

Andy Schwartz andy.schwartz at oracle.com
Wed Oct 13 17:47:27 EDT 2010


Hey Leonardo -

I haven't had a chance to review your patches just yet, but one quick 
question about this:

> javax.faces.application.ViewHandler (and ViewHandlerWrapper)
>
>     // Resolve the ambiguity found on getViewDeclarationLanguage() 
> method. Only called from Restore View Phase.
>     public ViewDeclarationLanguage 
> getViewDeclarationLanguageFromRawViewId(FacesContext context, String 
> viewId)

Why not use ViewHandler.deriveViewId() and specify that 
ViewHandler.getViewDeclarationLanguage() takes a derived view id?

Andy





More information about the jsr-314-open-mirror mailing list