code: protected List<String> getSelectedValues(CmsObject cms, I_CmsWidgetParameter param) {
  
          List<String> values = new ArrayList<String>();
          String paramValue = param.getStringValue(cms);
          if (CmsStringUtil.isEmpty(paramValue)) {
              Iterator<CmsSelectWidgetOption> itOptions = CmsSelectWidgetOption.getDefaultOptions(
                  m_selectOptions).iterator();
              while (itOptions.hasNext()) {
                  CmsSelectWidgetOption option = itOptions.next();
                  values.add(option.getValue());
              }
          } else {
              values.addAll(CmsStringUtil.splitAsList(paramValue, ',', true));
          }
          return values;
      }
docs: Returns the currently selected values of the select widget.<p>
  
  If a value is found in the given parameter, this is used. Otherwise
  the default value of the select options are used. If there is neither a parameter value
  nor a default value, <code>null</code> is used.<p>
  
  @param cms the current users OpenCms context
  @param param the widget parameter of this dialog
  
  @return a list of the currently selected values of the select widget