myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3224) Unify handling of errors in development project stage
Date Thu, 14 Jul 2011 20:07:00 GMT
Unify handling of errors in development project stage
-----------------------------------------------------

                 Key: MYFACES-3224
                 URL: https://issues.apache.org/jira/browse/MYFACES-3224
             Project: MyFaces Core
          Issue Type: Sub-task
            Reporter: Martin Kočí
            Priority: Minor


In development stage if exception occurs (in render response)

1) HTML request +  response not committed -> error page displayed
2) HTML request + response committed:  -> "Response already committed " error in console
+ error page rendered as part or original view
3) AJAX request + response not committed -> <error> in XML response, javascript alert
displayed
4) AJAX request + response committed -> Response already committed " error in console


Goal:

Provide same handling for all those cases. Ideally use same way as in 1) - error page. The
3) solution in development mode is useless - coder have to check XML response or/and console.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message