code: public String getCurrentResourceName() {
  
          if (isMultiOperation()) {
              return "";
          }
          String resourceName = CmsResource.getName(getParamResource());
          if (resourceName.endsWith("/")) {
              resourceName = resourceName.substring(0, resourceName.length() - 1);
          }
          return resourceName;
      }
docs: Returns the current name of the resource without path information.<p>
  
  This is used to preset the input text field with the current resource name for single resource operations.<p>
  
  @return the current name of the resource without path information