MarinerPageContext pageContext =
ContextInternals.getMarinerPageContext(context);
ArgumentsElement parent = null;
try {
parent = (ArgumentsElement) pageContext.peekIAPIElement();
} catch (Exception e) {
logger.error("iapi-element-no-parent-arguments", e);
throw new IAPIException(
exceptionLocalizer.format(
"iapi-element-no-parent-arguments"),