You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2007/07/24 07:03:31 UTC
[jira] Created: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
---------------------------------------------------------------------------------
Key: MYFACES-1685
URL: https://issues.apache.org/jira/browse/MYFACES-1685
Project: MyFaces Core
Issue Type: New Feature
Components: JSR-127, JSR-252
Affects Versions: 1.1.6-SNAPSHOT
Reporter: Martin Marinschek
Assignee: Martin Marinschek
Fix For: 1.1.6-SNAPSHOT
By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
Enjoy!
regards,
Martin
=================
see our mail-discussion attached as a reference
not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
-- Jacob
On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
Hi Jacob,
is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
regards,
Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514850 ]
Matthias Weßendorf commented on MYFACES-1685:
---------------------------------------------
he is tomcat-pmc :-)
http://people.apache.org/~jim/committers.html
> Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
> To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
> private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515973 ]
Martin Marinschek commented on MYFACES-1685:
--------------------------------------------
Change over to:
<context-param>
<param-name>org.apache.myfaces.ERROR_HANDLING</param-name>
<param-value>false</param-value>
</context-param>
regards,
Martin
> Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
> To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
> private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515990 ]
Martin Marinschek commented on MYFACES-1685:
--------------------------------------------
There was something wrong in the boolean-handling - should work with the current head now.
regards,
Martin
> Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
> To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
> private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Marinschek resolved MYFACES-1685.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.1-SNAPSHOT
> Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT, 1.2.1-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
> To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
> private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515964 ]
Guido Dubois commented on MYFACES-1685:
---------------------------------------
Hi,
I want to disable the behaviour completely to use the behaviour before. For this I have inserted the lines below in my web.xml file. But I still get the facelets like exception handling. I think, I have made a mistake. What's wrong?
<!-- Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
:: since MyFaces snapshot 1.1.6 from 25.07.2007 -->
<!-- if you want to disable the behaviour completely -->
<context-param>
<param-name>ERROR_HANDLING_PARAMETER</param-name>
<param-value>org.apache.myfaces.ERROR_HANDLING</param-value>
</context-param>
<!-- if you want to choose a different class for handling the exception -->
<!--context-param>
<param-name>ERROR_HANDLER_PARAMETER</param-name>
<param-value>org.apache.myfaces.ERROR_HANDLER</param-value>
</context-param-->
What's about logging? My app logs in a file and on console. The errors with this behaviour will not be logged, neither in file nor on console. Facelets uses java.util.logging. How looks it with the implementation here? Will be used java.util.logging?
Reguards, Guido
> Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
> To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
> private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516157 ]
Guido Dubois commented on MYFACES-1685:
---------------------------------------
Fine! Both, exception handling configuration and logging are working correct now....
> Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
> To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
> private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-1685) Enabled exception handling like in
Facelets for the rest of the MyFaces LifeCycle
Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515981 ]
Guido Dubois commented on MYFACES-1685:
---------------------------------------
Sorry, but it doesn't work. I still gets the facelets like exception handling...
reguards, Guido
> Enabled exception handling like in Facelets for the rest of the MyFaces LifeCycle
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-1685
> URL: https://issues.apache.org/jira/browse/MYFACES-1685
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-127, JSR-252
> Affects Versions: 1.1.6-SNAPSHOT
> Reporter: Martin Marinschek
> Assignee: Martin Marinschek
> Fix For: 1.1.6-SNAPSHOT
>
>
> By express permission of Jacob Hookom for dual licensing one class out of Facelets as ASL, I've added the Facelets-Error-Handling code to the rest of the MyFaces LifeCycle. Jacob has an ICLA on file, so paperwork has been done before.
> To tweak this behaviour, two new context-parameters have been added (add them to your web.xml if you need to use this tweaking):
> private static final String ERROR_HANDLING_PARAMETER = "org.apache.myfaces.ERROR_HANDLING" - if you want to disable the behaviour completely
> private static final String ERROR_HANDLER_PARAMETER = "org.apache.myfaces.ERROR_HANDLER" - if you want to choose a different class for handling the exception
> Enjoy!
> regards,
> Martin
> =================
> see our mail-discussion attached as a reference
> not a problem-- i think it'd be a cool solution for JSF 1.2 is to grab the ELResolver and walk through the Features-- so even custom ELResolvers would be able to output custom variables....
> -- Jacob
> On 7/23/07, Martin Marinschek <ma...@gmail.com> wrote:
> Hi Jacob,
> is it ok if I use your error-handling page also for errors in the full life-cycle of MyFaces? I just love this page, and I would want to see it for other exceptions than render-exceptions as well...
> I'd surely add you as an author - we'd definitely need to put the ASL-license on top, though.
> regards,
> Martin
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.