docs: void onSelect() {
  
          if (m_selectHandler != null) {
              String principalType = (String)m_principalTypeSelect.getValue();
              if (CmsVaadinUtils.getMessageText(org.opencms.workplace.commons.Messages.GUI_LABEL_ROLE_0).equals(
                  principalType)) {
                  principalType = CmsRole.PRINCIPAL_ROLE;
              }
              m_selectHandler.onPrincipalSelect(principalType, m_principalName.getValue());
          }
      }