Service Point tapestry.portlet.PortletExceptionPresenter | Interface: | org.apache.tapestry.error.ExceptionPresenter |
Displays stack trace and other information when a runtime exception is thrown.
If the exception occurs during an action request, the markup rendered and stored
in the session until a later render request (using the exception service). |
Implementation |
- <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
-
<construct class="PortletExceptionPresenter"
>
-
<set-service property="globals"
service-id="PortletRequestGlobals"
/>
-
<set-object property="request"
value="infrastructure:request"
/>
-
<set-object property="response"
value="infrastructure:response"
/>
-
<set-object property="requestExceptionReporter"
value="infrastructure:requestExceptionReporter"
/>
-
<set-object property="renderStrategy"
value="service:tapestry.describe.RenderStrategy"
/>
-
<set-object property="markupWriterSource"
value="infrastructure:markupWriterSource"
/>
</construct>
</invoke-factory>
|