code: public void setAction(final Action action) {
  		MenuItemModel model = getOrCreateComponentModel();
  		model.action = action;
  		model.url = null;
  	}
docs: Sets the action to execute when the menu item is invoked.
  
  @param action the menu item's action.