code: public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException {
  
          // perform the active list actions
          m_activeWp.actionDialog();
          if (m_activeWp.isForwarded()) {
              return;
          }
  
          Iterator<A_CmsListDialog> i = m_wps.iterator();
          while (i.hasNext()) {
              A_CmsListDialog wp = i.next();
              wp.refreshList();
          }
  
          if (writeLater) {
              return;
          }
          writeDialog();
      }
docs: Display method for two list dialogs, executes actions, but only displays if needed.<p>
  
  @param writeLater if <code>true</code> no output is written,
  you have to call manually the <code>{@link #defaultActionHtml()}</code> method.
  
  @throws JspException if dialog actions fail
  @throws IOException if writing to the JSP out fails, or in case of errros forwarding to the required result page
  @throws ServletException in case of errros forwarding to the required result page