code: public String buildSelectUpload(String htmlAttributes) {
  
          List<String> options = new ArrayList<String>();
          List<String> values = new ArrayList<String>();
          int selectedIndex = 0;
          int pos = 0;
  
          UploadVariant currentVariant = getParamTabWpUploadVariant();
          for (UploadVariant variant : UploadVariant.values()) {
  
              values.add(variant.toString());
              options.add(getUploadVariantMessage(variant));
  
              if (variant.equals(currentVariant)) {
                  selectedIndex = pos;
              }
              pos++;
          }
          return buildSelect(htmlAttributes, options, values, selectedIndex);
      }
docs: Builds the html for the workplace start site select box.<p>
  
  @param htmlAttributes optional html attributes for the &lgt;select&gt; tag
  @return the html for the workplace start site select box