Handling Exceptions in Action and Event Requests in JBoss Portal

According to the Portlets 2.0 specif a portlet throws an exception in the processAction or processEvent method, all operations on the ActionResponse must be ignored including set events [e.g setRenderParameter]. The 5 portal/portlet-container should continue processing the other portlets visible in the portal page.

It also says that it is up to the portlet container implementation if the error is faced to the end user, the portlet is removed from the current request cycle or if the render method of the portlet is called.

In JBoss Portal, the responses are cleared and the render methods are called.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.