code: @Override
      protected void defineWidgets() {
  
          // initialize the project object to use for the dialog
          initMessageObject();
  
          setKeyPrefix(KEY_PREFIX);
  
          addWidget(new CmsWidgetDialogParameter(m_msgInfo, "from", PAGES[0], new CmsDisplayWidget()));
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(getExcludedUsers())) {
              addWidget(new CmsWidgetDialogParameter(this, "excludedUsers", PAGES[0], new CmsDisplayWidget()));
          }
          addWidget(new CmsWidgetDialogParameter(m_msgInfo, "to", PAGES[0], new CmsDisplayWidget()));
          addWidget(new CmsWidgetDialogParameter(m_msgInfo, "cc", PAGES[0], "", new CmsInputWidget(), 0, 1));
          addWidget(new CmsWidgetDialogParameter(m_msgInfo, "subject", PAGES[0], new CmsInputWidget()));
          addWidget(new CmsWidgetDialogParameter(m_msgInfo, "msg", PAGES[0], new CmsTextareaWidget(12)));
      }
docs: Creates the list of widgets for this dialog.<p>