From portal-commits at lists.jboss.org Fri May 23 00:35:50 2008 Content-Type: multipart/mixed; boundary="===============1664146459933655052==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r10799 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules. Date: Fri, 23 May 2008 00:35:49 -0400 Message-ID: --===============1664146459933655052== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mmcallis Date: 2008-05-23 00:35:49 -0400 (Fri, 23 May 2008) New Revision: 10799 Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhan= dling.xml Log: 8.2.1. Policy Delegation and Cascading - revising Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/e= rrorhandling.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorha= ndling.xml 2008-05-23 01:57:33 UTC (rev 10798) +++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorha= ndling.xml 2008-05-23 04:35:49 UTC (rev 10799) @@ -44,21 +44,38 @@ - Control policies - When an error occurs, the request control flow changes accordi= ng to the configuration. The configuration - is also called control policy. + Control Policies + If an error occurs, the request control-flow changes according= to the configuration. This configuration is known as the control= policy. - Policy delegation and cascading - Whenever a control policy is invoked it is possible to chan= ge the response sent - by the control flow. If the control policy ignores the error t= hen the next policy will handle the error - at this turn. However if the control policy decides to provide= a new response then the next policy - will not be invoked since the new response will not be of type= error. For instance, if a portlet part of a - page produces an exception, the following reactions are possib= le: + Policy Delegation and Cascading + + When the control policy is invoked, the response sent by the control fl= ow can be changed. If the control policy ignores the error, the error is ha= ndled by the next policy. If the control policy provides a new response, th= e next policy is not invoked, since the new response will not be an error. + + + If a portlet in a page produces an exception, the following reactions a= re possible: + + - The error is displayed in the window - The window is removed from the aggregation - An portal error page is displayed - An HTTP 500 error response is sent to the browser= + + + the error is displayed in the window. + + + + + the window is removed from the aggregation. + + + + + a portal error page is displayed. + + + + + a HTTP 500 error response is sent to the Web browser. + + --===============1664146459933655052==--