You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2010/01/05 17:50:54 UTC

[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a in faces-config.xml

    [ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796759#action_12796759 ] 

Jakob Korherr commented on MYFACES-2468:
----------------------------------------

checking this again in the spec (section 11.1.3) and with blackbox tests of mojarra, we do have to support facelets-1.x without any custom ViewDeclarationLanguage. I'll provide a patch soon.

> MyFaces needs to support adding a <view-handler> in faces-config.xml
> --------------------------------------------------------------------
>
>                 Key: MYFACES-2468
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2468
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Mark Struberg
>            Priority: Critical
>         Attachments: Facelets1ViewDeclarationLanguage.java, Facelets1ViewDeclarationLanguageFactory.java
>
>
> The JSF-2 spec defines the <view-handler> tag to enable alternate VDLs via faces-config.xml.
> Since there is almost no component library out there which works with the built-in facelets-2 VDL, this is a showstopper for a lot scenarios:
> The way I need to use it (tried running RichFaces-3.3.3, Trinidad and PrimeFaces-2.0.CR1) :
> in web.xml:
> <context-param>
>    <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
>    <param-value>true</param-value>
> </context-param>
> and in faces-config.xml:
> <application>
>    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
> </application>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.