code: protected String getWidget(CmsWidgetDialogParameter param) {
  
          if (param != null) {
              return param.getWidget().getDialogWidget(getCms(), this, param);
          }
          return null;
      }
docs: Returns the widget HTML code for the given parameter.<p>
  
  @param param the name (id) of the parameter to get the widget HTML for
  
  @return the widget HTML code for the given parameter