docs: public void actionDialog() throws JspException, ServletException, IOException {
  
          if (isForwarded()) {
              return;
          }
          if (getAction() == ACTION_CANCEL) {
              // ACTION: cancel button pressed
              actionCloseDialog();
              return;
          }
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(
                  Messages.get().getBundle().key(
                      Messages.LOG_START_ACTION_LIST_2,
                      getListId(),
                      new Integer(getAction())));
          }
          switch (getAction()) {
              //////////////////// ACTION: default actions
              case ACTION_LIST_SEARCH:
              case ACTION_LIST_SORT:
              case ACTION_LIST_SELECT_PAGE:
                  executeDefaultActions();
                  break;
  
              //////////////////// ACTION: execute single list action
              case ACTION_LIST_SINGLE_ACTION:
                  if (getSelectedItem() != null) {
                      executeListSingleActions();
                  }
                  break;
  
              //////////////////// ACTION: execute multiple list actions
              case ACTION_LIST_MULTI_ACTION:
                  executeListMultiActions();
                  break;
  
              //////////////////// ACTION: execute independent list actions
              case ACTION_LIST_INDEPENDENT_ACTION:
                  executeListIndepActions();
                  break;
  
              case ACTION_DEFAULT:
              default:
                  // ACTION: show dialog (default)
                  setParamAction(DIALOG_INITIAL);
          }
          if (LOG.isDebugEnabled()) {
              LOG.debug(
                  Messages.get().getBundle().key(Messages.LOG_END_ACTION_LIST_2, getListId(), new Integer(getAction())));
          }
          refreshList();
      }