code: public void select(I_CmsPrincipal value) {
  
          if (m_selectField != null) {
              m_selectField.handlePrincipal(value);
          }
          if (m_selectHandler != null) {
              m_selectHandler.onPrincipalSelect(
                  value.isGroup() ? I_CmsPrincipal.PRINCIPAL_GROUP : I_CmsPrincipal.PRINCIPAL_USER,
                  value.getName());
          }
          m_closeButton.click();
      }
docs: Selects a principal and closes the dialog.<p>
  
  @param value the principal which was clicked