// This is necessary to switch page buffers for contents/labels
// in the renderer.
((TabsAttributes)protocolAttributes)
.setPageContext(getPageContext(context));
tabsRenderer.renderOpen(
getProtocol(context),
(WidgetAttributes)protocolAttributes);
MarinerPageContext pageContext = getPageContext(context);