Attribute a = getAttribute(nameSpace, "form");
if (!(a instanceof DynamicAttribute)) {
throw new TemplateParsingException("The required attribute form for form element is not specified", getBeginLine(), getBeginColumn());
}
DynamicAttribute form = (DynamicAttribute) a;
try {
formExpression = form.getExpression();
} catch (ExpressionParsingException e) {
throw new TemplateParsingException("Error parsing expression for form tag", e, getBeginLine(), getBeginColumn());
}
}