public static String getEncodedColumnSpecs(final FormLayout formLayout) {
    StringBuilder result = new StringBuilder();
    for(int i=1; i<=formLayout.getColumnCount(); i++) {
      if (result.length() > 0) {
        result.append(",");
      }
      result.append(getEncodedSpec(formLayout.getColumnSpec(i)));
    }
    return result.toString();
  }
public static String getEncodedColumnSpecs(final FormLayout formLayout)