2.3.1. Configuration

The ExceptionHandler is used to clean Seam contexts and transactions after errors.

      <context-param>
         <param-name>org.jboss.portletbridge.ExceptionHandler</param-name>
         <param-value>
            org.jboss.portletbridge.SeamExceptionHandlerImpl
         </param-value>
      </context-param>
      

Earlier 2.0.x versions of Seam portlets must have the LIFECYCLE_ID set to SEAM_PORTLET in the web.xml. This setting allows the bridge to replace the original Seam phase listener during the faces lifecycle addPhaseListeners. This setting is not needed for Seam portlets version 2.1.x and up.

      <context-param>
        <param-name>javax.faces.LIFECYCLE_ID</param-name>
        <param-value>SEAM_PORTLET</param-value>
      </context-param>