// Javadoc inherited.
protected int exprElementStart(
MarinerRequestContext context,
PAPIAttributes papiAttributes) throws PAPIException {
XFContentAttributes attributes = (XFContentAttributes) papiAttributes;
// Get the page context.
MarinerPageContext pageContext
= ContextInternals.getMarinerPageContext(context);
// Get the enclosing form element's attributes.
XFFormElementImpl formElement
= (XFFormElementImpl) pageContext.getCurrentElement();
com.volantis.mcs.protocols.XFFormAttributes formAttributes =
formElement.getProtocolAttributes();
String paneName = attributes.getPane();
Pane pane = null;
if (null == paneName) {
FormInstance form = (FormInstance) formAttributes.getFormData();
pane = ((Form) form.getFormat()).getDefaultPane();
paneName = pane.getName();