docs: public String widgetParamsAsHidden(String excludeDialogPage) {
  
          StringBuffer result = new StringBuffer();
          Iterator<String> i = m_widgetParamValues.keySet().iterator();
          while (i.hasNext()) {
              List<CmsWidgetDialogParameter> params = m_widgetParamValues.get(i.next());
              Iterator<CmsWidgetDialogParameter> j = params.iterator();
              while (j.hasNext()) {
                  CmsWidgetDialogParameter param = j.next();
                  String value = param.getStringValue(getCms());
                  if (CmsStringUtil.isNotEmpty(value)
                      && ((excludeDialogPage == null) || (!param.getDialogPage().equals(excludeDialogPage)))) {
                      result.append("<input type=\"hidden\" name=\"");
                      result.append(HIDDEN_PARAM_PREFIX);
                      result.append(param.getId());
                      result.append("\" value=\"");
                      String encoded = CmsEncoder.encode(value, getCms().getRequestContext().getEncoding());
                      result.append(encoded);
                      result.append("\">\n");
                  }
              }
          }
          return result.toString();
      }