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

Leonardo Uribe lu4242 at gmail.com
Wed Oct 13 18:14:20 EDT 2010


Hi Andy

2010/10/13 Andy Schwartz <andy.schwartz at oracle.com>

> 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?
>
>
I tried to use it in MyFaces long time ago but unfortunately use it breaks
TCK test, because deriveViewId() check at the end if the physical resource
exists and if it does not, return null.

Leonardo


> Andy
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20101013/e9e4230a/attachment-0002.html 


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