/**
   * returns CCWizardWindowModelInterface instance parameters in the form of of name value i.e.
   * pageName=xyz
   */
  protected String getDefaultWizardParameters() {
    StringBuffer buffer = new StringBuffer();

    // remember the form name
    theModel.setValue(theModel.WIZARD_BUTTON_FORM, getFormName());

    // add the popup parameter
    theModel.setValue(POPUP_WINDOW, "true");

    String params = theModel.toRequestParametersString(WizardWindowViewBean.PAGE_NAME);
    buffer.append(encodeParams(params));

    String extraParams = theModel.toExtraRequestParameters();
    buffer.append(encodeParams(extraParams));

    // for 2.0.2 compatibility
    theModel.setValue(PASS_PAGE_SESSION, new Boolean(true));

    // append the JATO page session is appropriate
    Boolean appendPageSession = (Boolean) theModel.getValue(PASS_PAGE_SESSION);
    if (appendPageSession != null && appendPageSession.booleanValue()) {
      buffer
          .append(WizardWindowViewBean.PAGE_NAME)
          .append(".")
          .append(WizardWindowViewBean.CHILD_CMD_FIELD)
          .append("=")
          .append("&")
          .append(ViewBean.PAGE_SESSION_ATTRIBUTE_NVP_NAME)
          .append("=");
      String pageSessionString =
          ((ViewBean) theView.getParentViewBean()).getPageSessionAttributeString(false);
      buffer.append(pageSessionString);
    }

    return buffer.toString();
  }