Пример #1
0
  /**
   * <br>
   * [機 能] 共通メッセージフォームへのパラメータ設定を行う <br>
   * [解 説] <br>
   * [備 考]
   *
   * @param msgForm 共通メッセージフォーム
   */
  public void setHiddenParam160(Cmn999Form msgForm) {

    msgForm.addHiddenParam("sortKey", getSortKey());
    msgForm.addHiddenParam("orderKey", getOrderKey());
    msgForm.addHiddenParam("adr160pageNum1", getAdr160pageNum1());
    msgForm.addHiddenParam("adr160pageNum2", getAdr160pageNum2());
    msgForm.addHiddenParam("adr160ProcMode", adr160ProcMode__);
    msgForm.addHiddenParam("adr160EditSid", adr160EditSid__);
  }
Пример #2
0
 /**
  * <br>
  * [機 能] 削除完了画面設定 <br>
  * [解 説] <br>
  * [備 考]
  *
  * @param map アクションマッピング
  * @param form アクションフォーム
  * @param req リクエスト
  * @return ActionForward
  */
 private ActionForward __doDeleteCompDsp(
     ActionMapping map, Ipk100Form form, HttpServletRequest req) {
   ActionForward forward = null;
   Cmn999Form cmn999Form = new Cmn999Form();
   ActionForward forwardOK = null;
   // スペック情報の削除確認画面パラメータの設定
   MessageResources msgRes = getResources(req);
   cmn999Form.setType(Cmn999Form.TYPE_OK);
   cmn999Form.setIcon(Cmn999Form.ICON_INFO);
   cmn999Form.setWtarget(Cmn999Form.WTARGET_BODY);
   forwardOK = map.findForward("ipk100DeleteComp");
   cmn999Form.setUrlOK(forwardOK.getPath());
   cmn999Form.setMessage(msgRes.getMessage("sakujo.kanryo.object", __getSpecKbn(form, req)));
   cmn999Form.addHiddenParam("backScreen", form.getBackScreen());
   req.setAttribute("cmn999Form", cmn999Form);
   forward = map.findForward("gf_msg");
   cmn999Form.addHiddenParam("ismSid", form.getIsmSid());
   cmn999Form.addHiddenParam("specKbn", form.getSpecKbn());
   return forward;
 }
Пример #3
0
  /**
   * <br>
   * [機 能] 完了メッセージ画面遷移時のパラメータを設定 <br>
   * [解 説] <br>
   * [備 考]
   *
   * @param map マッピング
   * @param req リクエスト
   * @param form アクションフォーム
   * @return ActionForward
   */
  private ActionForward __setCompPageParam(
      ActionMapping map, HttpServletRequest req, Rng020Form form) {

    Cmn999Form cmn999Form = new Cmn999Form();
    ActionForward urlForward = null;

    cmn999Form.setType(Cmn999Form.TYPE_OK);
    MessageResources msgRes = getResources(req);
    cmn999Form.setIcon(Cmn999Form.ICON_INFO);
    cmn999Form.setWtarget(Cmn999Form.WTARGET_BODY);
    if (form.getRng130searchFlg() == 1) {
      urlForward = map.findForward("search");
    } else {
      urlForward = map.findForward("rng010");
    }
    cmn999Form.setUrlOK(urlForward.getPath());

    // メッセージセット
    String msgState = null;
    if (form.getRngCmdMode() == RngConst.RNG_CMDMODE_ADD) {
      msgState = "touroku.kanryo.object";
    } else if (form.getRngCmdMode() == RngConst.RNG_CMDMODE_EDIT) {
      msgState = "hensyu.kanryo.object";
    }
    GsMessage gsMsg = new GsMessage();
    String msg = gsMsg.getMessage(req, "rng.62");

    cmn999Form.setMessage(msgRes.getMessage(msgState, msg));

    cmn999Form.addHiddenParam("rngProcMode", form.getRngProcMode());
    cmn999Form.addHiddenParam("rng010orderKey", form.getRng010orderKey());
    cmn999Form.addHiddenParam("rng010sortKey", form.getRng010sortKey());
    cmn999Form.addHiddenParam("rng010pageTop", form.getRng010pageTop());
    cmn999Form.addHiddenParam("rng010pageBottom", form.getRng010pageBottom());

    cmn999Form.addHiddenParam("rngKeyword", form.getRngKeyword());
    cmn999Form.addHiddenParam("rng130Type", form.getRng130Type());
    cmn999Form.addHiddenParam("sltGroupSid", form.getSltGroupSid());
    cmn999Form.addHiddenParam("sltUserSid", form.getSltUserSid());
    cmn999Form.addHiddenParam("rng130keyKbn", form.getRng130keyKbn());
    cmn999Form.addHiddenParam("rng130searchSubject1", form.getRng130searchSubject1());
    cmn999Form.addHiddenParam("rng130searchSubject2", form.getRng130searchSubject2());
    cmn999Form.addHiddenParam("sltSortKey1", form.getSltSortKey1());
    cmn999Form.addHiddenParam("rng130orderKey1", form.getRng130orderKey1());
    cmn999Form.addHiddenParam("sltSortKey2", form.getSltSortKey2());
    cmn999Form.addHiddenParam("rng130orderKey2", form.getRng130orderKey1());
    cmn999Form.addHiddenParam("sltApplYearFr", form.getSltApplYearFr());
    cmn999Form.addHiddenParam("sltApplMonthFr", form.getSltApplMonthFr());
    cmn999Form.addHiddenParam("sltApplDayFr", form.getSltApplDayFr());
    cmn999Form.addHiddenParam("sltApplYearTo", form.getSltApplYearTo());
    cmn999Form.addHiddenParam("sltApplMonthTo", form.getSltApplMonthTo());
    cmn999Form.addHiddenParam("sltApplDayTo", form.getSltApplDayTo());
    cmn999Form.addHiddenParam("sltLastManageYearFr", form.getSltLastManageYearFr());
    cmn999Form.addHiddenParam("sltLastManageMonthFr", form.getSltLastManageMonthFr());
    cmn999Form.addHiddenParam("sltLastManageDayFr", form.getSltLastManageDayFr());
    cmn999Form.addHiddenParam("sltLastManageYearTo", form.getSltLastManageYearTo());
    cmn999Form.addHiddenParam("sltLastManageMonthTo", form.getSltLastManageMonthTo());
    cmn999Form.addHiddenParam("sltLastManageDayTo", form.getSltLastManageDayTo());
    cmn999Form.addHiddenParam("rng130pageTop", form.getRng130pageTop());
    cmn999Form.addHiddenParam("rng130pageBottom", form.getRng130pageBottom());

    cmn999Form.addHiddenParam("svRngKeyword", form.getSvRngKeyword());
    cmn999Form.addHiddenParam("svRng130Type", form.getSvRng130Type());
    cmn999Form.addHiddenParam("svGroupSid", form.getSvGroupSid());
    cmn999Form.addHiddenParam("svUserSid", form.getSvUserSid());
    cmn999Form.addHiddenParam("svRng130keyKbn", form.getSvRng130keyKbn());
    cmn999Form.addHiddenParam("svRng130searchSubject1", form.getSvRng130searchSubject1());
    cmn999Form.addHiddenParam("svRng130searchSubject2", form.getSvRng130searchSubject2());
    cmn999Form.addHiddenParam("svSortKey1", form.getSvSortKey1());
    cmn999Form.addHiddenParam("svRng130orderKey1", form.getSvRng130orderKey1());
    cmn999Form.addHiddenParam("svSortKey2", form.getSvSortKey2());
    cmn999Form.addHiddenParam("svRng130orderKey2", form.getSvRng130orderKey1());
    cmn999Form.addHiddenParam("svApplYearFr", form.getSvApplYearFr());
    cmn999Form.addHiddenParam("svApplMonthFr", form.getSvApplMonthFr());
    cmn999Form.addHiddenParam("svApplDayFr", form.getSvApplDayFr());
    cmn999Form.addHiddenParam("svApplYearTo", form.getSvApplYearTo());
    cmn999Form.addHiddenParam("svApplMonthTo", form.getSvApplMonthTo());
    cmn999Form.addHiddenParam("svApplDayTo", form.getSvApplDayTo());
    cmn999Form.addHiddenParam("svLastManageYearFr", form.getSvLastManageYearFr());
    cmn999Form.addHiddenParam("svLastManageMonthFr", form.getSvLastManageMonthFr());
    cmn999Form.addHiddenParam("svLastManageDayFr", form.getSvLastManageDayFr());
    cmn999Form.addHiddenParam("svLastManageYearTo", form.getSvLastManageYearTo());
    cmn999Form.addHiddenParam("svLastManageMonthTo", form.getSvLastManageMonthTo());
    cmn999Form.addHiddenParam("svLastManageDayTo", form.getSvLastManageDayTo());
    cmn999Form.addHiddenParam("rng130searchFlg", form.getRng130searchFlg());

    req.setAttribute("cmn999Form", cmn999Form);

    return map.findForward("gf_msg");
  }
Пример #4
0
  /**
   * <br>
   * [機 能] Cmn999Formに画面パラメータをセットする <br>
   * [解 説] <br>
   * [備 考]
   *
   * @param cmn999Form Cmn999Form
   */
  public void setcmn999FormParam(Cmn999Form cmn999Form) {

    super.setcmn999FormParam(cmn999Form);

    cmn999Form.addHiddenParam("prj030scrId", getPrj030scrId());
    cmn999Form.addHiddenParam("prj030prjSid", getPrj030prjSid());
    //        cmn999Form.addHiddenParam("prj030mirai", prj030mirai__);
    cmn999Form.addHiddenParam("prj030sort", prj030sort__);
    cmn999Form.addHiddenParam("prj030order", prj030order__);
    cmn999Form.addHiddenParam("prj030sendMember", prj030sendMember__);
    cmn999Form.addHiddenParam("selectingDate", selectingDate__);
    cmn999Form.addHiddenParam("selectingStatus", selectingStatus__);
    cmn999Form.addHiddenParam("selectingCategory", selectingCategory__);
    cmn999Form.addHiddenParam("selectingMember", selectingMember__);
    cmn999Form.addHiddenParam("prj030page1", prj030page1__);
    cmn999Form.addHiddenParam("prj030page2", prj030page2__);
    cmn999Form.addHiddenParam("prj030Init", String.valueOf(isPrj030Init()));
    cmn999Form.addHiddenParam("prj030selectTodo", prj030selectTodo__);
    cmn999Form.addHiddenParam("prj030selectEditStatus", prj030selectEditStatus__);
  }
Пример #5
0
  /**
   * <br>
   * [機 能] 削除確認画面設定 <br>
   * [解 説] <br>
   * [備 考]
   *
   * @param map アクションマッピング
   * @param form アクションフォーム
   * @param req リクエスト
   * @return ActionForward
   */
  private ActionForward __doDeleteKnDsp(
      ActionMapping map, Ipk100Form form, HttpServletRequest req) {
    ActionForward forward = null;
    Cmn999Form cmn999Form = new Cmn999Form();
    ActionForward forwardOK = null;
    ActionForward forwardCancel = null;

    // トランザクショントークン設定
    this.saveToken(req);

    // スペック情報削除の削除確認画面パラメータの設定
    MessageResources msgRes = getResources(req);
    cmn999Form.setType(Cmn999Form.TYPE_OKCANCEL);
    cmn999Form.setIcon(Cmn999Form.ICON_INFO);
    cmn999Form.setWtarget(Cmn999Form.WTARGET_BODY);
    forwardOK = map.findForward("ipk100DeleteOk");
    cmn999Form.setUrlOK(forwardOK.getPath());
    forwardCancel = map.findForward("ipk100DeleteCancel");
    cmn999Form.setUrlCancel(forwardCancel.getPath());
    cmn999Form.setMessage(msgRes.getMessage("sakujo.kakunin.once", __getSpecKbn(form, req)));
    cmn999Form.addHiddenParam("backScreen", form.getBackScreen());
    cmn999Form.addHiddenParam("ismSid", form.getIsmSid());
    cmn999Form.addHiddenParam("editMode", form.getEditMode());
    cmn999Form.addHiddenParam("ipk100name", form.getIpk100name());
    cmn999Form.addHiddenParam("ipk100specLevel", form.getIpk100specLevel());
    cmn999Form.addHiddenParam("ipk100scroll", form.getIpk100scroll());
    cmn999Form.addHiddenParam("ipk100biko", form.getIpk100biko());
    cmn999Form.addHiddenParam("specKbn", form.getSpecKbn());
    req.setAttribute("cmn999Form", cmn999Form);
    forward = map.findForward("gf_msg");
    return forward;
  }
Пример #6
0
  /**
   * <br>
   * [機 能] 完了画面設定 <br>
   * [解 説] <br>
   * [備 考]
   *
   * @param map アクションマッピング
   * @param form アクションフォーム
   * @param req リクエスト
   * @param res レスポンス
   * @return ActionForward
   */
  private ActionForward __doCompDsp(
      ActionMapping map, Sml140knForm form, HttpServletRequest req, HttpServletResponse res) {

    ActionForward forward = null;
    Cmn999Form cmn999Form = new Cmn999Form();
    ActionForward urlForward = null;

    // 完了画面パラメータの設定
    MessageResources msgRes = getResources(req);
    cmn999Form.setType(Cmn999Form.TYPE_OK);
    cmn999Form.setIcon(Cmn999Form.ICON_INFO);
    cmn999Form.setWtarget(Cmn999Form.WTARGET_BODY);

    GsMessage gsMsg = new GsMessage();
    String smail = gsMsg.getMessage(req, "cmn.shortmail");

    urlForward = map.findForward("backToList");
    cmn999Form.setUrlOK(urlForward.getPath());
    cmn999Form.setMessage(msgRes.getMessage("sakujo.kanryo.object", smail));

    // hiddenパラメータ
    cmn999Form.addHiddenParam("backScreen", form.getBackScreen());
    cmn999Form.addHiddenParam("sml010ProcMode", form.getSml010ProcMode());
    cmn999Form.addHiddenParam("sml010Sort_key", form.getSml010Sort_key());
    cmn999Form.addHiddenParam("sml010Order_key", form.getSml010Order_key());
    cmn999Form.addHiddenParam("sml010PageNum", form.getSml010PageNum());
    cmn999Form.addHiddenParam("sml010SelectedSid", form.getSml010SelectedSid());
    cmn999Form.addHiddenParam("sml010DelSid", form.getSml010DelSid());
    req.setAttribute("cmn999Form", cmn999Form);

    forward = map.findForward("gf_msg");
    return forward;
  }