// If this element is controlled by Field Expander,
// render the markup required by the widget
if (parent instanceof FieldExpanderElement) {
try {
FieldExpanderWidgetRenderer renderer =
getFieldExpanderRenderer(context);
if (null != renderer) {
renderer.renderXFControlOpen(getProtocol(context), protocolAttributes);
}
} catch (ProtocolException e) {
throw new XDIMEException(e);
}
}