code: @Override
      public void actionCommit() {
  
          List errors = new ArrayList();
  
          try {
              // get the correct module
              String moduleName = getParamModule();
              CmsModule module = (CmsModule)OpenCms.getModuleManager().getModule(moduleName).clone();
              // get the current exportpoints from the module
              List oldExportpoints = module.getExportPoints();
              // now loop through the exportpoints and create the new list of exportpoints
              List newExportpoints = new ArrayList();
              Iterator i = oldExportpoints.iterator();
              while (i.hasNext()) {
                  CmsExportPoint exp = (CmsExportPoint)i.next();
                  if (!exp.getUri().equals(m_exportpoint.getUri())) {
                      newExportpoints.add(exp);
                  }
              }
              // update the exportpoints
              newExportpoints.add(m_exportpoint);
              module.setExportPoints(newExportpoints);
              // update the module
              OpenCms.getModuleManager().updateModule(getCms(), module);
              // refresh the list
              Map objects = (Map)getSettings().getListObject();
              if (objects != null) {
                  objects.remove(CmsModulesList.class.getName());
                  objects.remove(CmsExportpointsList.class.getName());
              }
          } catch (CmsConfigurationException ce) {
              errors.add(ce);
          } catch (CmsSecurityException se) {
              errors.add(se);
          }
  
          // set the list of errors to display when saving failed
          setCommitErrors(errors);
      }
docs: Commits the edited module.<p>