code: private boolean allResourcesValid() {
  
          boolean valid = true;
  
          for (I_CmsEditableGroupRow row : m_resourcesGroup.getRows()) {
              FormLayout layout = (FormLayout)(row.getComponent());
              CmsPathSelectField field = (CmsPathSelectField)layout.getComponent(0);
              if (!field.isValid()) {
                  valid = false;
              }
          }
  
          return valid;
      }
docs: Checks if all resources are valid.<p>
  
  @return true if resources are valid