You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mark Struberg (JIRA)" <de...@myfaces.apache.org> on 2009/12/28 16:05:29 UTC

[jira] Issue Comment Edited: (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=12794824#action_12794824 ] 

Mark Struberg edited comment on MYFACES-2468 at 12/28/09 3:04 PM:
------------------------------------------------------------------

as far as I've seen, the facelets-2 ViewHandler of MyFaces simply skips the facelet-taglib if it doesn't have a 'version' attribute. Also the taglib functions seem to be incompatible. Therefore facelet-taglibs written for facelets-1 simply get ignored in facelets-2. This is btw the same behaviour as in mojarra. Since there is almost no facelets-2 taglib on the market yet (think IceFaces2 is the only one?), this is pretty annoying. But I'm no JSF expert, so I'd actually be happy if someone can explain me that I am wrong ;)

      was (Author: struberg):
    as far as I've seen, the facelets-2 ViewHandler of MyFaces simiply skips the facelet-taglib if it doesn't have a 'version' attribute. Also the taglib functions seem to be incompatible. Therefore facelet-taglibs written for facelets-1 simply get ignored in facelets-2. This is btw the same behaviour as in mojarra. Since there is almost no facelets-2 taglib on the market yet (think IceFaces2 is the only one?), this is pretty annoying. But I'm no JSF expert, so I'd actually be happy if someone can explain me that I am wrong ;)
  
> 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
>
> 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.