DomHelper.getLocation(widgetElement));
}
}
if (actionCommand == null) {
throw new FormsException("Required attribute 'command' is missing.",
DomHelper.getLocationObject(widgetElement));
}
RepeaterActionDefinition definition = createDefinition(widgetElement, actionCommand);
setupDefinition(widgetElement, definition, context);
setDisplayData(widgetElement, definition);
definition.setActionCommand(actionCommand);
// Warn of the mis-named 'on-action' that existed initially
Element buggyOnActivate = DomHelper.getChildElement(widgetElement, FormsConstants.DEFINITION_NS, "on-activate", false);
if (buggyOnActivate != null) {
throw new FormsException("Use 'on-action' instead of 'on-activate' on row-action.",
DomHelper.getLocationObject(buggyOnActivate));
}
Iterator i = buildEventListeners(widgetElement, "on-action", ActionListener.class).iterator();
while (i.hasNext()) {