code: public void setEditorValues(Locale locale) throws CmsXmlException {
  
          List<String> names = m_content.getNames(locale);
          Iterator<String> i = names.iterator();
          while (i.hasNext()) {
              String path = i.next();
              I_CmsXmlContentValue value = m_content.getValue(path, locale);
              if (value.isSimpleType()) {
                  // We don't care about the old editor for the 'inheritable' widget configuration,
                  // so we're using the old getWidget method here
                  I_CmsWidget widget = value.getContentDefinition().getContentHandler().getWidget(value);
                  widget.setEditorValue(
                      getCms(),
                      getJsp().getRequest().getParameterMap(),
                      this,
                      (I_CmsWidgetParameter)value);
              }
          }
      }
docs: Sets the editor values for the locale with the parameters from the request.<p>
  
  Called before saving the xml content, redisplaying the input form,
  changing the language and adding or removing elements.<p>
  
  @param locale the locale of the content to save
  @throws CmsXmlException if something goes wrong