@UiFactory
 HorizontalLayoutContainer createHLC() {
   HorizontalLayoutContainer hlc = new HorizontalLayoutContainer();
   hlc.add(new Hidden(HDN_PARENT_ID_KEY, uploadDest.getPath()));
   hlc.add(new Hidden(HDN_USER_ID_KEY, userName));
   return hlc;
 }
  private void doUpload() {
    FastMap<IPCFileUploadField> destResourceMap = new FastMap<IPCFileUploadField>();
    for (IPCFileUploadField field : fufList) {
      String fileName = field.getValue().replaceAll(".*[\\\\/]", "");
      field.setEnabled(!Strings.isNullOrEmpty(fileName) && !fileName.equalsIgnoreCase("null"));
      if (field.isEnabled()) {
        destResourceMap.put(uploadDest.getPath() + "/" + fileName, field);
      } else {
        field.setEnabled(false);
      }
    }

    if (!destResourceMap.isEmpty()) {
      final ArrayList<String> ids = Lists.newArrayList(destResourceMap.keySet());
      final HasPaths dto = FS_FACTORY.pathsList().as();
      dto.setPaths(ids);
      final CheckDuplicatesCallback cb =
          new CheckDuplicatesCallback(
              ids, destResourceMap, statList, fufList, submittedForms, formList);
      drService.diskResourcesExist(dto, cb);
    }
  }
  private void initDestPathLabel() {
    String destPath = uploadDest.getPath();

    htmlDestText.setHTML(Format.ellipse(I18N.DISPLAY.uploadingToFolder(destPath), 80));
    new ToolTip(htmlDestText, new ToolTipConfig(destPath));
  }