try {
uiBean.beforeRenderComponent();
pageContext.getRequest().setAttribute(COMPONENT_ATTR_NAME, bean);
jspInclude(page);
pageContext.getRequest().setAttribute(COMPONENT_ATTR_NAME, previousComponent);
uiBean.afterRenderComponent();
} catch (Exception e) {
handleError(e);
} finally {
pageContext.getRequest().setAttribute(COMPONENT_ATTR_NAME, previousComponent);
trace.end();