for (int i = 0; i < INTERNAL_ACTIONS.length; i++) {
ActionName action = INTERNAL_ACTIONS[i];
List actionList = new ArrayList();
actionList.add(action);
ButtonAttributes buttonAttributes = new ButtonAttributes();
buttonAttributes.setActionReference(new ActionReferenceImpl(widgetId, actionList));
actionsToInternalButtonsMap.put(action, buttonAttributes);
}
}