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/27 10:01:29 UTC
[jira] Created: (MYFACES-2468) MyFaces needs to be supported adding
a in faces-config.xml
MyFaces needs to be supported 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:
{noformat}
<context-param>
<param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
<param-value>true</param-value>
</context-param>
{noformat}
and in faces-config.xml:
{noformat}
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ 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.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797712#action_12797712 ]
Jakob Korherr commented on MYFACES-2468:
----------------------------------------
Scott,
Yes, the submitted patch is from the newest revision and includes your changes.
> 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, myfaces-2468.patch
>
>
> 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.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797706#action_12797706 ]
Scott O'Bryan commented on MYFACES-2468:
----------------------------------------
Jakob,
I recently moved some of the ViewDeclarationLanguage stuff to shared. Does the patch you submitted address these changes? I don't have time to apply the patch right now but I just wanted to ensure that you were using a fresh branch.
> 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, myfaces-2468.patch
>
>
> 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.
Res: What do I need to do to drag your attention to issue TOMAHAWK-799?
Posted by Ramiro Pereira de Magalhães <rp...@yahoo.com.br>.
Sure thing! Will do it right now!
I did not send a patch but in the comments I mentioned what was needed to be done.
Thanks,
Ramiro Pereira de Magalhães
________________________________
De: Matthias Wessendorf <ma...@apache.org>
Para: MyFaces Development <de...@myfaces.apache.org>
Enviadas: Terça-feira, 29 de Dezembro de 2009 15:41:18
Assunto: Re: What do I need to do to drag your attention to issue TOMAHAWK-799?
can you upload a patch file (a diff file against the SVN)?
Once that is done, we can commit it.
Please note, that providing patches always speeds up OS development process
-Matthias
2009/12/29 Ramiro Pereira de Magalhães <rp...@yahoo.com.br>:
> Guys,
>
> the Tomahawk's datascroller componenent has a very annoying issue that is
> REALLY simple to solve. I really need it solved, so I ask you: what you need
> me to do to show that the effort to solve it is very small in comparison to
> the benefits it will bring?
>
> Thanks,
> Ramiro Pereira de Magalhães
>
> ________________________________
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 -
> Celebridades - Música - Esportes
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Re: What do I need to do to drag your attention to issue
TOMAHAWK-799?
Posted by Matthias Wessendorf <ma...@apache.org>.
can you upload a patch file (a diff file against the SVN)?
Once that is done, we can commit it.
Please note, that providing patches always speeds up OS development process
-Matthias
2009/12/29 Ramiro Pereira de Magalhães <rp...@yahoo.com.br>:
> Guys,
>
> the Tomahawk's datascroller componenent has a very annoying issue that is
> REALLY simple to solve. I really need it solved, so I ask you: what you need
> me to do to show that the effort to solve it is very small in comparison to
> the benefits it will bring?
>
> Thanks,
> Ramiro Pereira de Magalhães
>
> ________________________________
> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 -
> Celebridades - Música - Esportes
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
What do I need to do to drag your attention to issue TOMAHAWK-799?
Posted by Ramiro Pereira de Magalhães <rp...@yahoo.com.br>.
Guys,
the Tomahawk's datascroller componenent has a very annoying issue that is REALLY simple to solve. I really need it solved, so I ask you: what you need me to do to show that the effort to solve it is very small in comparison to the benefits it will bring?
Thanks,
Ramiro Pereira de Magalhães
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795078#action_12795078 ]
Jakob Korherr commented on MYFACES-2468:
----------------------------------------
Hi Mark!
I did a lot of tests and I found out that adding a <view-handler> in faces-config.xml is not the problem. MyFaces does register the view handler com.sun.facelets.FaceletViewHandler if you tell it to!!
The problem is that com.sun.facelets.FaceletViewHandler uses its parent ViewHandler in many cases. On JSF 1.2 the parent handler is JspViewHandlerImpl and on JSF 2.0 it is ViewHandlerImpl, which behaves differently in many cases.
Besides that JSF 2.0 uses the class ViewDeclarationLanguage to process the view and com.sun.facelets.FaceletViewHandler, of course, does not provide an implementation of ViewDeclarationLanguage. So com.sun.facelets.FaceletViewHandler uses the VDL of his parent (ViewHandlerImpl), which is in our case JspViewDeclarationLanguage, because we set javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER to true. This leads to an infinite loop when trying to render a facelet view.
So we have to provide a ViewDeclarationLanguage for facelets-1. I created a very simple one, wrote a factory for it and registered it in faces-config.xml with
<factory>
<view-declaration-language-factory>at.jakobkorherr.myfaces.test.Facelets1ViewDeclarationLanguageFactory</view-declaration-language-factory>
</factory>
I'll attach both files to this issue, but keep in mind that they were developed quick and dirty and just to get facelets-1 running.
Then there was only one problem left: MyFaces used .jsp to find my facelets in the file system. This problem can be solved by adding
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
in web.xml.
With these »workarounds« you can run facelets-1 on MyFaces 2.0. However, a lot of new features will not function properly.
On my opinion it should not be anyone's target to get facelets-1 code running on JSF 2.0, because then you are not able to use most of the new JSF 2.0 features. This means you could also use JSF 1.2. Besides that most features of facelets-1 should be easy to migrate to facelets-2, I think.
Furthermore I think that all those taglibs will soon be available for JSF 2.0 also, for example RichFaces 4.0.0. It is just a matter of time, I guess.
> 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.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794816#action_12794816 ]
Jakob Korherr commented on MYFACES-2468:
----------------------------------------
OK - I'll take a look at it and provide a patch soon! ...and it would be really great, if you could test it :)
I'm afraid there is no other way. I think the idea is that facelets-2 is an improvement of facelets-1 and it should be somehow backwards compatible, but I don't know exactly.
> 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.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798177#action_12798177 ]
Mark Struberg commented on MYFACES-2468:
----------------------------------------
works like a charm ;)
txs 4 fixing this so quick!
> 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, myfaces-2468.patch
>
>
> 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.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794798#action_12794798 ]
Jakob Korherr commented on MYFACES-2468:
----------------------------------------
are you planning to submit a patch for this issue, mark? if no, I'll take a look at it today or tomorrow.
> 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.
[jira] Issue Comment Edited: (MYFACES-2468) MyFaces needs to
support adding a in faces-config.xml
Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
[ 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.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794824#action_12794824 ]
Mark Struberg commented on MYFACES-2468:
----------------------------------------
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.
[jira] Updated: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Korherr updated MYFACES-2468:
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-alpha-2
Status: Resolved (was: Patch Available)
> 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
> Assignee: Jakob Korherr
> Priority: Critical
> Fix For: 2.0.0-alpha-2
>
> Attachments: Facelets1ViewDeclarationLanguage.java, Facelets1ViewDeclarationLanguageFactory.java, myfaces-2468.patch
>
>
> 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.
[jira] Updated: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Korherr updated MYFACES-2468:
-----------------------------------
Status: Patch Available (was: Open)
> 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, myfaces-2468.patch
>
>
> 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.
[jira] Commented: (MYFACES-2468) MyFaces needs to support adding a
in faces-config.xml
Posted by "Mark Struberg (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794812#action_12794812 ]
Mark Struberg commented on MYFACES-2468:
----------------------------------------
Hi Jakob!
I fear I'm not deep enough into MyFaces to provide a solid patch. I've looked at the sources and it didn't look to difficult at the first glance. But the devil is in the details ;) But I surely would have time to test your patch!
Btw: is there another way to use the ViewHandler of facelets-1.1.15.B1 instead of the built-in facelets-2 from MyFaces? If not, then I'd say this is almost a blocker. txs, strub
> 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.