package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import org.apache.commons.lang.StringUtils;
import java.util.*;
import java.sql.*;
import org.apache.log4j.Category;
import jp.co.sint.database.*;
import jp.co.sint.basic.*;
import jp.co.sint.tools.*;
import jp.co.sint.config.*;
import jp.co.sint.beans.mallmgr.*;

public class man_cmdty_compositionopt_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(2);
    _jspx_includes.add("/mallmgr/cmdty/../../include/man_chk_login_inc.jsp");
    _jspx_includes.add("/mallmgr/cmdty/../../include/man_meta_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_actionErrors;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_format_pattern;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_currentTime_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_sicurrency_value_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_name_default_collection_nobody;

  public man_cmdty_compositionopt_jsp() {
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_actionErrors = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_format_pattern = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_currentTime_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_sicurrency_value_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_name_default_collection_nobody = new org.apache.jasper.runtime.TagHandlerPool();
  }

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspDestroy() {
    _jspx_tagPool_webshop_isFalse_value.release();
    _jspx_tagPool_response_sendRedirect.release();
    _jspx_tagPool_webshop_actionErrors.release();
    _jspx_tagPool_datetime_format_pattern.release();
    _jspx_tagPool_datetime_currentTime_nobody.release();
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_sicurrency_value_nobody.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.release();
    _jspx_tagPool_webshop_siselect_name_default_collection_nobody.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;

    jp.co.sint.basic.SICmdtyCompositionGroupDetail _jspx_compositionGroupDetailID_1 = null;

    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=MS932");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"../../util/error.jsp", true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");

/**
 * Copyright (c) 2003-2005 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : mallmgr/cmdty/man_cmdty_maker.jsp,v 1.0 2005/08/09 Exp $
 * @author      : Tsuyoshi Yagi
 * @Description : 構成品選択画面
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Tsuyoshi Yagi         2005/08/15  Original
 */

      out.write("\r\n");
/**タグのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**エラー遷移先の定義のセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**クラスのインポートのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**ユーザーログイン情報のチェックのセクション*/
      out.write("\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_chk_login_inc.jsp,v 1.0 2003/10/01 Exp $
 * @author      : Jinwang Chen
 * @Description : 管理画面に管理者がログインでかどうかをチェックします。
 *                 ログインしなければ、自動的に管理のトップログイン画面への遷移
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * J.W.Chen       2003/10/01  Original
 */

      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
SILogin manLogin=SIHTMLUtil.getLogin(request);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここから
      out.write("\r\n");
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_0 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_0.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_0.setParent(null);
      _jspx_th_webshop_isFalse_0.setValue(manLogin.isLogin(request));
      int _jspx_eval_webshop_isFalse_0 = _jspx_th_webshop_isFalse_0.doStartTag();
      if (_jspx_eval_webshop_isFalse_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
          out.write("\r\n");
if (!SIConfig.SIWEBSHOP_MAN_DEVELOPING) {
          out.write("\r\n  ");
          /* ----  response:sendRedirect ---- */
          org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_0 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
          _jspx_th_response_sendRedirect_0.setPageContext(pageContext);
          _jspx_th_response_sendRedirect_0.setParent(_jspx_th_webshop_isFalse_0);
          int _jspx_eval_response_sendRedirect_0 = _jspx_th_response_sendRedirect_0.doStartTag();
          if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
              out = _bc;
              _jspx_th_response_sendRedirect_0.setBodyContent(_bc);
              _jspx_th_response_sendRedirect_0.doInitBody();
            }
            do {
              out.print(SIURLMap.getHttpsUrl(request,"webshop.jsp.manager.login"));
              int evalDoAfterBody = _jspx_th_response_sendRedirect_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = pageContext.popBody();
          }
          if (_jspx_th_response_sendRedirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_0);
//7.1.1 ST0174 修正
          out.write("\r\n");
}
          out.write("\r\n");
//7.3.0 ST2022 修正 ここから
          out.write("\r\n");
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
      out.write("\r\n");
      out.write("\r\n");

//トップサイトの設定
String webshopSite=SIHTMLUtil.getRootPath(request);

//ログ用のインスタンスの生成
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);

// リクエスト取得
String shopCode = (String)request.getParameter("shopCode");
String cmdtyCode = (String)request.getParameter("cmdtyCode");
String individualCode = (String)request.getParameter("individualCode");
String branchCode = (String)request.getParameter("branchCode");
String pageNumber = (String)request.getParameter("pageNumberTXT");
if (SIUtil.isNull(pageNumber)) {
  SICmdtyComposition cmdtyCompositionopt = (SICmdtyComposition) session.getAttribute(SIConfig.SISESSION_MAN_COMPOSITIONOPT_DATA);
  if (cmdtyCompositionopt != null && SIUtil.isNotNull(cmdtyCompositionopt.getPageNumberTxt())) {
    pageNumber = cmdtyCompositionopt.getPageNumberTxt();
  } else {
    pageNumber = "1";
  }
}
String pageSizeSel = (String)request.getParameter("pageSizeSel");
if (SIUtil.isNull(pageSizeSel)) {
  SICmdtyComposition cmdtyCompositionopt = (SICmdtyComposition) session.getAttribute(SIConfig.SISESSION_MAN_COMPOSITIONOPT_DATA);
  if (cmdtyCompositionopt != null && SIUtil.isNotNull(cmdtyCompositionopt.getPageSizeSel())) {
    pageSizeSel = cmdtyCompositionopt.getPageSizeSel();
  } else {
    pageSizeSel = "20";
  }
}
String cmdtyCompositionFlg = (String)request.getParameter("flg");

String popupCloseFlg = "";
if (SIUtil.isNotNull((String) session.getAttribute(SIConfig.SISESSION_MAN_FLAG_POPUP_CLOSE))) {
  popupCloseFlg = (String) session.getAttribute(SIConfig.SISESSION_MAN_FLAG_POPUP_CLOSE);
}

// 在庫数量選択ボックス
Collection amountColl = SIUtil.getAmountNumber();

// 該当構成商品／オプション
UIRegCmdty cmdtyPage = (UIRegCmdty) session.getAttribute(SIConfig.SISESSION_MAN_CMDTY_EDIT_NAME);

String userCode = manLogin.getUserCode();

SIDatabaseConnection databaseConnection = new SIDatabaseConnection();

UIRegCmdtyComposition cmdtyComposition = (UIRegCmdtyComposition) session.getAttribute(SIConfig.SISESSION_MAN_CMDTY_EDIT_COMPOSITION);
try {
  Connection conn = databaseConnection.getConnection();
  if (cmdtyComposition != null) {
    cmdtyComposition.getCmdtyComposition(conn);
    cmdtyComposition.getCmdtyCompositionGroup(conn);
  }
  boolean hasError = cmdtyPage == null || cmdtyComposition == null;

// VIP値引/特価価格などの再設定
// 会員値引フラグ
cmdtyPage.setMemberDiscountFlg(cmdtyComposition.getMemberDiscountFlg());
// 会員値引レート
SIUserInfo lUserInfo = new SIUserInfo();
if (request != null) lUserInfo = SIHTMLUtil.getUserInfo(request);
cmdtyPage.setMemberDiscountRate(lUserInfo.getDiscountRate());
String branch = (String) session.getAttribute(SIConfig.SISESSION_MAN_POS_BRANCH_NAME);

      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write("<html LANG=\"ja-JP\">\r\n");
      out.write("<head>\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_meta_inc.jsp,v 1.0 2003/10/14 R.Tosaka Exp $
 * @author      : R.Tosaka
 * @Description : 管理画面共通で使用するmetaタグ用スクリプト
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * R.Tosaka       2003/10/14  Original
 */

      out.write("\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\r\n");
      out.write("<meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\">\r\n");
      out.write("<meta http-equiv=\"Content-Style-Type\" content=\"text/css\">");
      out.write("\r\n");
      out.write("<title>構成品選択");
      out.write("</title>\r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/style/SuperCSS.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\" src=\"");
      out.print(webshopSite);
      out.write("/script/SIAppCommon.js\">\r\n");
      out.write("</script>\r\n");
      out.write("<script language=\"javascript\" type=\"text/javascript\">\r\n");
      out.write("<!--//\r\nfunction keepCmdty(inCmdtyCode,inIndividualCode,inBranchCode,inAmount){\r\n  with(document.forms[0]){\r\n    actionNameTxt.value = SIConfig.SIACTION_NEXT;\r\n    cmdtyCodeTxt.value = inCmdtyCode;\r\n    individualCodeTxt.value = inIndividualCode;\r\n    branchCodeTxt.value = inBranchCode;\r\n    amountTxt.value = inAmount;\r\n    submit();\r\n  }\r\n}\r\nfunction goPopup(url){\r\n  var win = window.open('','man_cmdty_compositionopt','scrollbars=yes,width=780,height=580,status=yes,scrollbars=yes,resizable=yes');\r\n  win.location.href=url;\r\n  win.focus();\r\n}\r\nfunction setAndClose() {\r\n  with (document.forms[0]){\r\n    if (popupCloseFlg.value == \"true\") {\r\n      window.opener.sendActionByData2('");
      out.print(SIConfig.SIACTION_COMPOSITIONOPT);
      out.write("','pageNumberTxt','");
      out.print(pageNumber);
      out.write("','pageSizeSel','");
      out.print(pageSizeSel);
      out.write("');\r\n      window.close();\r\n    }\r\n  }\r\n}\r\nfunction focus() {\r\n  with (document.forms[0]) {\r\n    selectSetAmount.focus();\r\n  }\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");

  String bodyOnload = "focus();setAndClose();";
  if (cmdtyCompositionFlg.equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET)){
    bodyOnload = "setAndClose();";
  }

      out.write("\r\n");
      out.write("<body onLoad=\"");
      out.print(bodyOnload );
      out.write("\">\r\n");
      out.write("<form name=\"webshopFrm\" action=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.manager.cmdty.compositionopt"));
      out.write("\" method=\"post\">\r\n");
      out.write("<table width=\"735\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" summary=\"LayoutTable\">\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td colspan=\"2\" class=\"Back_Edit_HeaderBG\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/WS_Title800.gif\" alt=\"Title\" width=\"735\" height=\"30\">");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td height=\"500\" valign=\"top\" class=\"Back_Edit_ScreenBG\">\r\n      ");
      out.write("<span class=\"Back_Edit_TitleText\">構成品選択");
      out.write("</span>\r\n      ");
      out.write("<br/>");
      out.write("<br/>\r\n      ");
      out.write("<span class=\"Text_ErrorMessage\">\r\n      ");
      out.write("<ul>\r\n      ");
      if (_jspx_meth_webshop_actionErrors_0(pageContext))
        return;
      out.write("\r\n      ");
      out.write("</ul>\r\n      ");
      out.write("</span>\r\n      ");
 if (!hasError) {
      out.write("\r\n      ");
      out.write("<span class=\"Back_Edit_TitleText\">セット品");
      out.write("</span>\r\n      ");
      out.write("<table width=\"715\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#000000\" class=\"Back_Edit_TableBorder\" summary=\"結果表示部分\">\r\n        ");
      out.write("<tr class=\"Back_Edit_HeaderCell\">\r\n          ");
      out.write("<td width= \"95\" valign=\"middle\">");
      out.write("<strong>セットコード");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"500\" valign=\"middle\">");
      out.write("<strong>商品名");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"120\" valign=\"middle\">");
      out.write("<strong>BG卸価");
      out.write("</strong>");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr class=\"Back_Edit_DataCell\">\r\n          ");
      out.write("<td>");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyComposition.getIndividualCode()) );
      out.write("</td>\r\n          ");
      out.write("<td>\r\n            ");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyComposition.getCmdtyName()) );
      out.write("\r\n            ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_0 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_0.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_0.setParent(null);
      _jspx_th_webshop_isTrue_0.setValue(SIConfig.CMDTY_COMPOSITION_SELECTION_SET.equals(cmdtyCompositionFlg));
      int _jspx_eval_webshop_isTrue_0 = _jspx_th_webshop_isTrue_0.doStartTag();
      if (_jspx_eval_webshop_isTrue_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n              (よりどり点数：");
          out.print(SIHTMLUtil.HTMLEncode(cmdtyComposition.getSectionCount()) );
          out.write("点)\r\n            ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">\r\n            ");
      out.write("\r\n            ");
 String setUnitPrice = cmdtyPage.getSetUnitPrice(conn); 
      out.write("\r\n            ");
 String setDiscountUnitPrice = cmdtyPage.getSetDiscountUnitPrice(conn); 
      out.write("\r\n            ");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_1 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_1.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_1.setParent(null);
      _jspx_th_webshop_isFalse_1.setValue(setUnitPrice.equals(setDiscountUnitPrice));
      int _jspx_eval_webshop_isFalse_1 = _jspx_th_webshop_isFalse_1.doStartTag();
      if (_jspx_eval_webshop_isFalse_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n              ");
          out.write("<strike>");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_0 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_0.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_0.setParent(_jspx_th_webshop_isFalse_1);
          _jspx_th_webshop_sicurrency_0.setValue(setUnitPrice);
          int _jspx_eval_webshop_sicurrency_0 = _jspx_th_webshop_sicurrency_0.doStartTag();
          if (_jspx_th_webshop_sicurrency_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_0);
          out.print(cmdtyPage.getTaxFlgName());
          out.write("</strike>");
          out.write("<br>\r\n            ");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_1);
      out.write("\r\n            ");
      /* ----  webshop:sicurrency ---- */
      jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_1 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
      _jspx_th_webshop_sicurrency_1.setPageContext(pageContext);
      _jspx_th_webshop_sicurrency_1.setParent(null);
      _jspx_th_webshop_sicurrency_1.setValue(setDiscountUnitPrice);
      int _jspx_eval_webshop_sicurrency_1 = _jspx_th_webshop_sicurrency_1.doStartTag();
      if (_jspx_th_webshop_sicurrency_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_1);
      out.print(cmdtyPage.getTaxFlgName());
      out.write("\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n      ");
      out.write("<br/>\r\n\r\n      ");
      out.write("<span class=\"Back_Edit_TitleText\">構成商品／オプション");
      out.write("</span>\r\n      ");
      out.write("<table width=\"715\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#000000\" class=\"Back_Edit_TableBorder\" summary=\"結果表示部分\">\r\n        ");
      out.write("<tr class=\"Back_Edit_HeaderCell\">\r\n          ");
      out.write("<td width=\"55\" valign=\"middle\">");
      out.write("<strong>構成");
      out.write("<br>ｸﾞﾙｰﾌﾟ");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"65\" valign=\"middle\">");
      out.write("<strong>在庫コード");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"195\" valign=\"middle\" colspan=\"2\">");
      out.write("<strong>商品名");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"80\" valign=\"middle\">");
      out.write("<strong>色");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"65\" valign=\"middle\">");
      out.write("<strong>中古・新品");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"80\" valign=\"middle\">");
      out.write("<strong>在庫");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"90\" valign=\"middle\">");
      out.write("<strong>単価");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"40\" valign=\"middle\">");
      out.write("<strong>在管");
      out.write("</strong>");
      out.write("</td>\r\n          ");
      out.write("<td width=\"45\" valign=\"middle\">");
      out.write("<strong>構成数");
      out.write("</strong>");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("\r\n        ");
 Collection groupColl = cmdtyComposition.getCompositionGroupList();
      out.write("\r\n        ");
 //Collection groupColl = cmdtyPage.getCmdtyCompositionGroupData(conn);
      out.write("\r\n        ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_0.setParent(null);
      _jspx_th_webshop_siiterator_0.setId("compositionGroupID");
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SICmdtyCompositionGroupData");
      _jspx_th_webshop_siiterator_0.setCollection(groupColl);
      int _jspx_eval_webshop_siiterator_0 = _jspx_th_webshop_siiterator_0.doStartTag();
      if (_jspx_eval_webshop_siiterator_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdtyCompositionGroupData compositionGroupID = null;
        compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
        do {
          out.write("\r\n          ");
 int groupNum = 0; 
          out.write("\r\n          ");
          /* ----  webshop:siiterator ---- */
          jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_1 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
          _jspx_th_webshop_siiterator_1.setPageContext(pageContext);
          _jspx_th_webshop_siiterator_1.setParent(_jspx_th_webshop_siiterator_0);
          _jspx_th_webshop_siiterator_1.setId("compositionGroupDetailID");
          _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SICmdtyCompositionGroupDetail");
          _jspx_th_webshop_siiterator_1.setCollection(compositionGroupID.getCompositionGroupDetail());
          int _jspx_eval_webshop_siiterator_1 = _jspx_th_webshop_siiterator_1.doStartTag();
          if (_jspx_eval_webshop_siiterator_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            jp.co.sint.basic.SICmdtyCompositionGroupDetail compositionGroupDetailID = null;
            compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
            do {
              out.write("\r\n          ");
 SICmdty cmdtyDetail = cmdtyComposition.getCmdtyCompositionGroupDetail(request, conn, branch, compositionGroupDetailID.getShopCode(), compositionGroupDetailID.getDetailCmdtyCode(), compositionGroupDetailID.getDetailIndividualCode()); 
              out.write("\r\n          ");
              out.write("<tr class=\"Back_Edit_DataCell\">\r\n            ");
 groupNum++;
              out.write("\r\n            ");
              /* ----  webshop:isTrue ---- */
              jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_1 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
              _jspx_th_webshop_isTrue_1.setPageContext(pageContext);
              _jspx_th_webshop_isTrue_1.setParent(_jspx_th_webshop_siiterator_1);
              _jspx_th_webshop_isTrue_1.setValue( groupNum == 1);
              int _jspx_eval_webshop_isTrue_1 = _jspx_th_webshop_isTrue_1.doStartTag();
              if (_jspx_eval_webshop_isTrue_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\r\n              ");
                  out.write("<td align=\"center\" rowspan=\"");
                  out.print(compositionGroupID.getCompositionGroupDetail().size());
                  out.write("\">");
                  out.print(SIHTMLUtil.HTMLEncode(compositionGroupID.getGroupCode()));
                  out.write("</td>\r\n            ");
                  int evalDoAfterBody = _jspx_th_webshop_isTrue_1.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_webshop_isTrue_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_1);
              out.write("\r\n            ");
              out.write("<td>");
              out.print(SIHTMLUtil.HTMLEncode(compositionGroupDetailID.getDetailIndividualCode()));
              out.write("</td>\r\n            ");
              out.write("<td width=\"25\" align=\"center\">\r\n              ");
 if(SIConfig.CMDTY_COMPOSITION_VARIATION_SET.equals(cmdtyCompositionFlg)) {
              out.write("\r\n                ");
              out.write("<input type=\"radio\" name=\"");
              out.print("selectSetCmdty_" + compositionGroupID.getGroupCode());
              out.write("\" value=\"");
              out.print(compositionGroupDetailID.getDetailIndividualCode());
              out.write("\"  ");
if (groupNum == 1){
              out.write("checked");
}
              out.write(">\r\n              ");
} else if(SIConfig.CMDTY_COMPOSITION_SELECTION_SET.equals(cmdtyCompositionFlg)) {
              out.write("\r\n                ");
              out.write("<input type=\"checkbox\" name=\"");
              out.print("selectSetCmdty_" + compositionGroupDetailID.getDetailIndividualCode() + "_" + compositionGroupID.getGroupCode());
              out.write("\" value=\"");
              out.print(compositionGroupDetailID.getDetailIndividualCode());
              out.write("\" >\r\n              ");
} else if(SIConfig.CMDTY_COMPOSITION_FIXED_SET.equals(cmdtyCompositionFlg)) {
              out.write("\r\n              ");
} else if(SIConfig.CMDTY_COMPOSITION_SPECIFICATION.equals(cmdtyCompositionFlg)) {
              out.write("\r\n                ");
              out.write("<input type=\"radio\" name=\"");
              out.print("selectSetCmdty_" + compositionGroupID.getGroupCode());
              out.write("\" value=\"");
              out.print(compositionGroupDetailID.getDetailIndividualCode());
              out.write("\"  ");
if (groupNum == 1){
              out.write("checked");
}
              out.write(">\r\n              ");
} else {}
              out.write("\r\n            ");
              out.write("</td>\r\n            ");
              out.write("<td>");
              out.print(SIHTMLUtil.HTMLEncode(compositionGroupDetailID.getCmdtyName()));
              out.write("</td>\r\n            ");
              out.write("<td>");
              out.print(SIHTMLUtil.HTMLEncode(compositionGroupDetailID.getDetailIndividualName()));
              out.write("</td>\r\n            ");
              out.write("<td>\r\n              ");
if (SIUtil.isNotNull(compositionGroupDetailID.getUsedNewFlg()) && StringUtils.isNumeric(compositionGroupDetailID.getUsedNewFlg())) {
              out.write("\r\n                ");
              out.print(SIHTMLUtil.HTMLEncode(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_USED_NEW_FLG_LIST_INX, compositionGroupDetailID.getUsedNewFlg())));
              out.write("\r\n              ");
}
              out.write("\r\n            ");
              out.write("</td>\r\n            ");
              out.write("<td align=\"right\">\r\n              ");
 String branchStock = SIHTMLUtil.HTMLEncode(cmdtyPage.getBranchStockTxt(request, userCode, conn, compositionGroupDetailID.getDetailCmdtyCode(), compositionGroupDetailID.getDetailIndividualCode()));
              out.write("\r\n              ");
 if (SIUtil.isNull(branchStock) || !StringUtils.isNumeric(branchStock)) {
                   branchStock = "0";
                 }
              out.write("\r\n                ");
              /* ----  webshop:isTrue ---- */
              jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_2 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
              _jspx_th_webshop_isTrue_2.setPageContext(pageContext);
              _jspx_th_webshop_isTrue_2.setParent(_jspx_th_webshop_siiterator_1);
              _jspx_th_webshop_isTrue_2.setValue(SIConfig.CMDTY_COMPOSITION_SELECTION_SET.equals(cmdtyCompositionFlg));
              int _jspx_eval_webshop_isTrue_2 = _jspx_th_webshop_isTrue_2.doStartTag();
              if (_jspx_eval_webshop_isTrue_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\r\n                  ");
 Collection selectColl = new ArrayList();
                     int countPullDown = Integer.parseInt(branchStock);
                     if (countPullDown < 99) countPullDown = 99;
                     for (int i = 0; i < countPullDown; i++) {
                       selectColl.add(new SINameValue(String.valueOf(i + 1),String.valueOf(i + 1)));
                     }
                  out.write("\r\n                  ");
                  /* ----  webshop:siselect ---- */
                  jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_0 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
                  _jspx_th_webshop_siselect_0.setPageContext(pageContext);
                  _jspx_th_webshop_siselect_0.setParent(_jspx_th_webshop_isTrue_2);
                  _jspx_th_webshop_siselect_0.setName("selectCmdtyAmount_" + compositionGroupDetailID.getDetailIndividualCode() + "_" + compositionGroupID.getGroupCode());
                  _jspx_th_webshop_siselect_0.setDefault("");
                  _jspx_th_webshop_siselect_0.setCollection(selectColl);
                  int _jspx_eval_webshop_siselect_0 = _jspx_th_webshop_siselect_0.doStartTag();
                  if (_jspx_th_webshop_siselect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                    return;
                  _jspx_tagPool_webshop_siselect_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_0);
                  out.write("／\r\n                ");
                  int evalDoAfterBody = _jspx_th_webshop_isTrue_2.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_webshop_isTrue_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_2);
              out.write("\r\n                ");
              out.print(branchStock);
              out.write("\r\n                ");
              out.write("<input type=\"hidden\" name=\"");
              out.print("branchStock_" + compositionGroupDetailID.getDetailIndividualCode() + "_" + compositionGroupID.getGroupCode());
              out.write("\" value=\"");
              out.print(branchStock);
              out.write("\">\r\n            ");
              out.write("</td>\r\n            ");
              out.write("<td align=\"right\">\r\n              ");
              out.write("\r\n              ");
 // 会員値引フラグ
                 cmdtyDetail.setMemberDiscountFlg(cmdtyComposition.getMemberDiscountFlg());
                 String lFinalUnitPrice = cmdtyDetail.getFinalUnitPrice(cmdtyDetail.getCalcUnitPrice()
                                                                       ,cmdtyDetail.getUnitPrice()
                                                                       ,cmdtyDetail.getSalesUnitPrice()
                                                                       ,""
                                                                       ,cmdtyDetail.getMemberDiscountFlg()
                                                                       ,"");
              out.write("\r\n              ");
              /* ----  webshop:isFalse ---- */
              jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_2 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
              _jspx_th_webshop_isFalse_2.setPageContext(pageContext);
              _jspx_th_webshop_isFalse_2.setParent(_jspx_th_webshop_siiterator_1);
              _jspx_th_webshop_isFalse_2.setValue(cmdtyDetail.getUnitPrice().equals(lFinalUnitPrice));
              int _jspx_eval_webshop_isFalse_2 = _jspx_th_webshop_isFalse_2.doStartTag();
              if (_jspx_eval_webshop_isFalse_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\r\n              ");
                  out.write("<strike>");
                  /* ----  webshop:sicurrency ---- */
                  jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_2 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
                  _jspx_th_webshop_sicurrency_2.setPageContext(pageContext);
                  _jspx_th_webshop_sicurrency_2.setParent(_jspx_th_webshop_isFalse_2);
                  _jspx_th_webshop_sicurrency_2.setValue(cmdtyDetail.getUnitPrice());
                  int _jspx_eval_webshop_sicurrency_2 = _jspx_th_webshop_sicurrency_2.doStartTag();
                  if (_jspx_th_webshop_sicurrency_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                    return;
                  _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_2);
                  out.print(cmdtyDetail.getTaxFlgName());
                  out.write("</strike>");
                  out.write("<br>\r\n              ");
                  int evalDoAfterBody = _jspx_th_webshop_isFalse_2.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
              }
              if (_jspx_th_webshop_isFalse_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_2);
              out.write("\r\n              ");
              /* ----  webshop:sicurrency ---- */
              jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_3 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
              _jspx_th_webshop_sicurrency_3.setPageContext(pageContext);
              _jspx_th_webshop_sicurrency_3.setParent(_jspx_th_webshop_siiterator_1);
              _jspx_th_webshop_sicurrency_3.setValue(lFinalUnitPrice);
              int _jspx_eval_webshop_sicurrency_3 = _jspx_th_webshop_sicurrency_3.doStartTag();
              if (_jspx_th_webshop_sicurrency_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_3);
              out.print(cmdtyDetail.getTaxFlgName());
              out.write("\r\n              ");
              out.write("<br>\r\n            ");
              out.write("</td>\r\n            ");
              out.write("<td align=\"center\">\r\n              ");
 if ("0".equals(compositionGroupDetailID.getAmountFlg())) {
              out.write("×\r\n              ");
} else if ("1".equals(compositionGroupDetailID.getAmountFlg())) {
              out.write("○\r\n              ");
} else {}
              out.write("\r\n            ");
              out.write("</td>\r\n            ");
              out.write("<td align=\"right\">");
              out.print(SIHTMLUtil.HTMLEncode(compositionGroupDetailID.getCompositionCount()));
              out.write("</td>\r\n          ");
              out.write("</tr>\r\n          ");
              int evalDoAfterBody = _jspx_th_webshop_siiterator_1.doAfterBody();
              compositionGroupDetailID = (jp.co.sint.basic.SICmdtyCompositionGroupDetail) pageContext.findAttribute("compositionGroupDetailID");
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_siiterator_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_1);
// compositionGroupDetailID 
          out.write("\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
          compositionGroupID = (jp.co.sint.basic.SICmdtyCompositionGroupData) pageContext.findAttribute("compositionGroupID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_0);
// compositionGroupID 
      out.write("\r\n        ");
      out.write("\r\n        ");
 Collection appendedColl = cmdtyComposition.getCompositionAppendedList();
      out.write("\r\n        ");
 //Collection appendedColl = cmdtyPage.getCmdtyCompositionAppended(conn);
      out.write("\r\n        ");
 int appendNum = 0; 
      out.write("\r\n        ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_2 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_2.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_2.setParent(null);
      _jspx_th_webshop_siiterator_2.setId("compositionAppendedID");
      _jspx_th_webshop_siiterator_2.setType("jp.co.sint.basic.SICmdtyCompositionAppended");
      _jspx_th_webshop_siiterator_2.setCollection(appendedColl);
      int _jspx_eval_webshop_siiterator_2 = _jspx_th_webshop_siiterator_2.doStartTag();
      if (_jspx_eval_webshop_siiterator_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdtyCompositionAppended compositionAppendedID = null;
        compositionAppendedID = (jp.co.sint.basic.SICmdtyCompositionAppended) pageContext.findAttribute("compositionAppendedID");
        do {
          out.write("\r\n          ");
          out.write("<tr class=\"Back_Edit_DataCell\">\r\n            ");
 appendNum++;
          out.write("\r\n            ");
          /* ----  webshop:isTrue ---- */
          jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_3 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
          _jspx_th_webshop_isTrue_3.setPageContext(pageContext);
          _jspx_th_webshop_isTrue_3.setParent(_jspx_th_webshop_siiterator_2);
          _jspx_th_webshop_isTrue_3.setValue( appendNum == 1);
          int _jspx_eval_webshop_isTrue_3 = _jspx_th_webshop_isTrue_3.doStartTag();
          if (_jspx_eval_webshop_isTrue_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n              ");
              out.write("<td align=\"center\" rowspan=\"");
              out.print(appendedColl.size());
              out.write("\">添付品");
              out.write("</td>\r\n            ");
              int evalDoAfterBody = _jspx_th_webshop_isTrue_3.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_isTrue_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_3);
          out.write("\r\n            ");
          out.write("<td>");
          out.print(SIHTMLUtil.HTMLEncode(compositionAppendedID.getDetailIndividualCode()));
          out.write("</td>\r\n            ");
          out.write("<td width=\"25\" align=\"center\">&nbsp;");
          out.write("</td>\r\n            ");
          out.write("<td>\r\n              ");
          out.print(SIHTMLUtil.HTMLEncode(compositionAppendedID.getCmdtyName()));
          out.write("<br>\r\n              （");
          out.print(SIHTMLUtil.HTMLEncode(compositionAppendedID.getSetCount()));
          out.write("セット毎に");
          out.print(SIHTMLUtil.HTMLEncode(compositionAppendedID.getAppendedCount()));
          out.write("個添付）\r\n            ");
          out.write("</td>\r\n            ");
          out.write("<td>&nbsp;");
          out.write("</td>\r\n            ");
          out.write("<td>\r\n              ");
if (SIUtil.isNotNull(compositionAppendedID.getUsedNewFlg()) && StringUtils.isNumeric(compositionAppendedID.getUsedNewFlg())) {
          out.write("\r\n                ");
          out.print(SIHTMLUtil.HTMLEncode(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_USED_NEW_FLG_LIST_INX, compositionAppendedID.getUsedNewFlg())));
          out.write("\r\n              ");
}
          out.write("\r\n            ");
          out.write("</td>\r\n            ");
          out.write("<td align=\"right\">\r\n              ");
 String branchStock = SIHTMLUtil.HTMLEncode(cmdtyPage.getBranchStockTxt(request, userCode, conn, compositionAppendedID.getDetailCmdtyCode(), compositionAppendedID.getDetailIndividualCode()));
          out.write("\r\n              ");
 if (SIUtil.isNotNull(branchStock) && StringUtils.isNumeric(branchStock)) {
          out.write("\r\n                ");
          out.print(branchStock);
          out.write("\r\n                ");
          out.write("<input type=\"hidden\" name=\"");
          out.print("appendedStock_" + compositionAppendedID.getDetailIndividualCode() + "_" + appendNum);
          out.write("\" value=\"");
          out.print(branchStock);
          out.write("\">\r\n              ");
} else {
          out.write("\r\n                0");
          out.write("<input type=\"hidden\" name=\"");
          out.print("appendedStock_" + compositionAppendedID.getDetailIndividualCode() + "_" + appendNum);
          out.write("\" value=\"0\">\r\n              ");
}
          out.write("\r\n            ");
          out.write("</td>\r\n            ");
          out.write("<td align=\"right\">\r\n                ");
          if (_jspx_meth_webshop_sicurrency_4(_jspx_th_webshop_siiterator_2, pageContext))
            return;
          out.write("\r\n            ");
          out.write("</td>\r\n            ");
          out.write("<td align=\"center\">\r\n              ");
 if("0".equals(compositionAppendedID.getAmountFlg())) {
          out.write("×\r\n              ");
} else if("1".equals(compositionAppendedID.getAmountFlg())) {
          out.write("○\r\n              ");
} else {}
          out.write("\r\n            ");
          out.write("</td>\r\n            ");
          out.write("<td align=\"right\">");
          out.print(SIHTMLUtil.HTMLEncode(compositionAppendedID.getAppendedCount()));
          out.write("</td>\r\n          ");
          out.write("</tr>\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_2.doAfterBody();
          compositionAppendedID = (jp.co.sint.basic.SICmdtyCompositionAppended) pageContext.findAttribute("compositionAppendedID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_2);
// compositionAppendedID 
      out.write("\r\n        ");
      out.write("\r\n        ");
 Collection optionColl = cmdtyComposition.getCompositionOptionList();
      out.write("\r\n        ");
 //Collection optionColl = cmdtyPage.getCmdtyCompositionOption(conn);
      out.write("\r\n        ");
 int optionNum = 0; 
      out.write("\r\n        ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_3 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_3.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_3.setParent(null);
      _jspx_th_webshop_siiterator_3.setId("compositionOptionID");
      _jspx_th_webshop_siiterator_3.setType("jp.co.sint.basic.SICmdtyCompositionOption");
      _jspx_th_webshop_siiterator_3.setCollection(optionColl);
      int _jspx_eval_webshop_siiterator_3 = _jspx_th_webshop_siiterator_3.doStartTag();
      if (_jspx_eval_webshop_siiterator_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SICmdtyCompositionOption compositionOptionID = null;
        compositionOptionID = (jp.co.sint.basic.SICmdtyCompositionOption) pageContext.findAttribute("compositionOptionID");
        do {
          out.write("\r\n          ");
 SICmdty cmdtyDetail = cmdtyComposition.getCmdtyCompositionGroupDetail(request, conn, branch, compositionOptionID.getShopCode(), compositionOptionID.getDetailCmdtyCode(), compositionOptionID.getDetailIndividualCode()); 
          out.write("\r\n          ");
          out.write("<tr class=\"Back_Edit_DataCell\">\r\n          ");
 optionNum++;
          out.write("\r\n          ");
          /* ----  webshop:isTrue ---- */
          jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_4 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
          _jspx_th_webshop_isTrue_4.setPageContext(pageContext);
          _jspx_th_webshop_isTrue_4.setParent(_jspx_th_webshop_siiterator_3);
          _jspx_th_webshop_isTrue_4.setValue( optionNum == 1);
          int _jspx_eval_webshop_isTrue_4 = _jspx_th_webshop_isTrue_4.doStartTag();
          if (_jspx_eval_webshop_isTrue_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n            ");
              out.write("<td align=\"center\" rowspan=\"");
              out.print(optionColl.size());
              out.write("\">オプション");
              out.write("</td>\r\n          ");
              int evalDoAfterBody = _jspx_th_webshop_isTrue_4.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_isTrue_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_4);
          out.write("\r\n          ");
          out.write("<td>");
          out.print(SIHTMLUtil.HTMLEncode(compositionOptionID.getDetailIndividualCode()));
          out.write("</td>\r\n          ");
          out.write("<td width=\"25\" align=\"center\">\r\n            ");
          out.write("<input type=\"checkbox\" name=\"");
          out.print("selectSetOption_" + compositionOptionID.getDetailIndividualCode());
          out.write("\" value=\"");
          out.print(compositionOptionID.getDetailIndividualCode());
          out.write("\" >\r\n          ");
          out.write("</td>\r\n          ");
          out.write("<td>");
          out.print(SIHTMLUtil.HTMLEncode(compositionOptionID.getCmdtyName()));
          out.write("</td>\r\n          ");
          out.write("<td>&nbsp;");
          out.write("</td>\r\n          ");
          out.write("<td>\r\n            ");
if (SIUtil.isNotNull(compositionOptionID.getUsedNewFlg()) && StringUtils.isNumeric(compositionOptionID.getUsedNewFlg())) {
          out.write("\r\n              ");
          out.print(SIHTMLUtil.HTMLEncode(SIFlagUtil.getFlagName(SIFlagConf.SIFLAG_USED_NEW_FLG_LIST_INX, compositionOptionID.getUsedNewFlg())));
          out.write("\r\n            ");
}
          out.write("\r\n          ");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">\r\n            ");
 String branchStock = SIHTMLUtil.HTMLEncode(cmdtyPage.getBranchStockTxt(request, userCode, conn, compositionOptionID.getDetailCmdtyCode(), compositionOptionID.getDetailIndividualCode()));
          out.write("\r\n            ");
 if (SIUtil.isNotNull(branchStock) && StringUtils.isNumeric(branchStock)) {
          out.write("\r\n              ");
          out.print(branchStock);
          out.write("\r\n              ");
          out.write("<input type=\"hidden\" name=\"");
          out.print("optionStock_" + compositionOptionID.getDetailIndividualCode() + "_" + optionNum);
          out.write("\" value=\"");
          out.print(branchStock);
          out.write("\">\r\n            ");
} else {
          out.write("\r\n              0");
          out.write("<input type=\"hidden\" name=\"");
          out.print("optionStock_" + compositionOptionID.getDetailIndividualCode() + "_" + optionNum);
          out.write("\" value=\"0\">\r\n            ");
}
          out.write("\r\n          ");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">\r\n            ");
          out.write("\r\n            ");
 // 会員値引フラグ
               cmdtyDetail.setMemberDiscountFlg(cmdtyComposition.getMemberDiscountFlg());
               String lFinalUnitPrice = cmdtyDetail.getFinalUnitPrice(cmdtyDetail.getCalcUnitPrice()
                                                                     ,cmdtyDetail.getUnitPrice()
                                                                     ,cmdtyDetail.getSalesUnitPrice()
                                                                     ,""
                                                                     ,cmdtyDetail.getMemberDiscountFlg()
                                                                     ,"");
          out.write("\r\n            ");
          /* ----  webshop:isFalse ---- */
          jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_3 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
          _jspx_th_webshop_isFalse_3.setPageContext(pageContext);
          _jspx_th_webshop_isFalse_3.setParent(_jspx_th_webshop_siiterator_3);
          _jspx_th_webshop_isFalse_3.setValue(cmdtyDetail.getUnitPrice().equals(lFinalUnitPrice));
          int _jspx_eval_webshop_isFalse_3 = _jspx_th_webshop_isFalse_3.doStartTag();
          if (_jspx_eval_webshop_isFalse_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            do {
              out.write("\r\n            ");
              out.write("<strike>");
              /* ----  webshop:sicurrency ---- */
              jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_5 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
              _jspx_th_webshop_sicurrency_5.setPageContext(pageContext);
              _jspx_th_webshop_sicurrency_5.setParent(_jspx_th_webshop_isFalse_3);
              _jspx_th_webshop_sicurrency_5.setValue(cmdtyDetail.getUnitPrice());
              int _jspx_eval_webshop_sicurrency_5 = _jspx_th_webshop_sicurrency_5.doStartTag();
              if (_jspx_th_webshop_sicurrency_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                return;
              _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_5);
              out.print(cmdtyDetail.getTaxFlgName());
              out.write("</strike>");
              out.write("<br>\r\n            ");
              int evalDoAfterBody = _jspx_th_webshop_isFalse_3.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_webshop_isFalse_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_3);
          out.write("\r\n            ");
          /* ----  webshop:sicurrency ---- */
          jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_6 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
          _jspx_th_webshop_sicurrency_6.setPageContext(pageContext);
          _jspx_th_webshop_sicurrency_6.setParent(_jspx_th_webshop_siiterator_3);
          _jspx_th_webshop_sicurrency_6.setValue(lFinalUnitPrice);
          int _jspx_eval_webshop_sicurrency_6 = _jspx_th_webshop_sicurrency_6.doStartTag();
          if (_jspx_th_webshop_sicurrency_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_6);
          out.print(cmdtyDetail.getTaxFlgName());
          out.write("\r\n          ");
          out.write("</td>\r\n          ");
          out.write("<td align=\"center\">\r\n            ");
 if("0".equals(compositionOptionID.getAmountFlg())) {
          out.write("×\r\n            ");
} else if("1".equals(compositionOptionID.getAmountFlg())) {
          out.write("○\r\n            ");
} else {}
          out.write("\r\n          ");
          out.write("</td>\r\n          ");
          out.write("<td align=\"right\">");
          out.print(SIHTMLUtil.HTMLEncode(compositionOptionID.getCompositionCount()));
          out.write("</td>\r\n          ");
          out.write("</tr>\r\n        ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_3.doAfterBody();
          compositionOptionID = (jp.co.sint.basic.SICmdtyCompositionOption) pageContext.findAttribute("compositionOptionID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_3);
// compositionOptionID 
      out.write("\r\n      ");
      out.write("</table>\r\n      ");
}
      out.write("\r\n      ");
      out.write("<table width=\"685\" border=\"0\" summary=\"ボタン配置\">\r\n        ");
      out.write("<tr>\r\n          ");
 if (!hasError) {
      out.write("\r\n          ");
      out.write("<td width=\"260\">");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">\r\n          ");
 if (cmdtyCompositionFlg.equals(SIConfig.CMDTY_COMPOSITION_SELECTION_SET)) { 
      out.write("\r\n            ");
      out.write("<inpu type=\"hidden\" name=\"selectSetAmount\" value=\"1\">\r\n          ");
 } else { 
      out.write("\r\n            ");
      out.write("<span class=\"Back_Edit_TitleText\">数量：");
      out.write("</span>&nbsp;");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_1 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_1.setPageContext(pageContext);
      _jspx_th_webshop_siselect_1.setParent(null);
      _jspx_th_webshop_siselect_1.setName("selectSetAmount");
      _jspx_th_webshop_siselect_1.setDefault("");
      _jspx_th_webshop_siselect_1.setCollection(amountColl);
      int _jspx_eval_webshop_siselect_1 = _jspx_th_webshop_siselect_1.doStartTag();
      if (_jspx_th_webshop_siselect_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_1);
      out.write("\r\n          ");
 } 
      out.write("\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td align=\"right\">\r\n            ");
      out.write("<a href=\"javascript:sendUrlAction('");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.manager.cmdty.compositionopt") );
      out.write("?actionNameTxt=");
      out.print(SIConfig.SIACTION_NEXT);
      out.write("&shopCode=");
      out.print(SIHTMLUtil.HTMLEncode(shopCode));
      out.write("&cmdtyCode=");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyCode) );
      out.write("&individualCode=");
      out.print(SIHTMLUtil.HTMLEncode(individualCode) );
      out.write("&callId=");
      out.print(SIHTMLUtil.JSHTMLEncode(cmdtyComposition.getCollId()));
      out.write("&flg=");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyCompositionFlg) );
      out.write("','");
      out.print(SIConfig.SIACTION_NEXT);
      out.write("')\">\r\n              ");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Decide.gif\" alt=\"確定\" width=\"125\" height=\"30\" class=\"imgBtn\">\r\n            ");
      out.write("</a>\r\n          ");
      out.write("</td>\r\n          ");
}
      out.write("\r\n          ");
      out.write("<td align=\"left\">");
      out.write("<a href=\"javascript:close()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Close.gif\" alt=\"閉じる\" width=\"125\" height=\"30\" class=\"imgBtn\">");
      out.write("</a>");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>");
      out.write("<td class=\"Back_Edit_FooterBG\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/WS_Footer800.gif\" alt=\"Footer\" width=\"735\" height=\"20\">");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\"  value=\"keep\">\r\n");
      out.write("<input type=\"hidden\" name=\"shopCodeTxt\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(shopCode));
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"cmdtyCodeTxt\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyCode));
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"individualCodeTxt\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(individualCode));
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"branchCodeTxt\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(branchCode));
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"amountTxt\" value=\"\">\r\n");
      out.write("<input type=\"hidden\" name=\"cmdtyCompositionFlg\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyCompositionFlg));
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"popupCloseFlg\" value=\"");
      out.print(popupCloseFlg );
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"cmdtyName\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyComposition.getCmdtyName()));
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"callId\" value=\"");
      out.print(SIHTMLUtil.HTMLEncode(cmdtyComposition.getCollId()));
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"pageNumberTxt\" value=\"");
      out.print(pageNumber);
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"pageSizeSel\" value=\"");
      out.print(pageSizeSel);
      out.write("\">\r\n");
      out.write("</form>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");

} catch(Exception e) {
  e.printStackTrace();
  throw new ServletException();
} finally {
  databaseConnection.close();
}

    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }

  private boolean _jspx_meth_webshop_actionErrors_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  webshop:actionErrors ---- */
    jp.co.sint.taglib.SIActionErrorsTag _jspx_th_webshop_actionErrors_0 = (jp.co.sint.taglib.SIActionErrorsTag) _jspx_tagPool_webshop_actionErrors.get(jp.co.sint.taglib.SIActionErrorsTag.class);
    _jspx_th_webshop_actionErrors_0.setPageContext(pageContext);
    _jspx_th_webshop_actionErrors_0.setParent(null);
    int _jspx_eval_webshop_actionErrors_0 = _jspx_th_webshop_actionErrors_0.doStartTag();
    if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_webshop_actionErrors_0.setBodyContent(_bc);
        _jspx_th_webshop_actionErrors_0.doInitBody();
      }
      do {
        out.write("\r\n      下記のメッセージの発生日時は、");
        if (_jspx_meth_datetime_format_0(_jspx_th_webshop_actionErrors_0, pageContext))
          return true;
        out.write("です。\r\n      ");
        int evalDoAfterBody = _jspx_th_webshop_actionErrors_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_webshop_actionErrors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_webshop_actionErrors.reuse(_jspx_th_webshop_actionErrors_0);
    return false;
  }

  private boolean _jspx_meth_datetime_format_0(javax.servlet.jsp.tagext.Tag _jspx_th_webshop_actionErrors_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:format ---- */
    org.apache.taglibs.datetime.FormatTag _jspx_th_datetime_format_0 = (org.apache.taglibs.datetime.FormatTag) _jspx_tagPool_datetime_format_pattern.get(org.apache.taglibs.datetime.FormatTag.class);
    _jspx_th_datetime_format_0.setPageContext(pageContext);
    _jspx_th_datetime_format_0.setParent(_jspx_th_webshop_actionErrors_0);
    _jspx_th_datetime_format_0.setPattern("yyyy/MM/dd HH:mm:ss");
    int _jspx_eval_datetime_format_0 = _jspx_th_datetime_format_0.doStartTag();
    if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_datetime_format_0.setBodyContent(_bc);
        _jspx_th_datetime_format_0.doInitBody();
      }
      do {
        if (_jspx_meth_datetime_currentTime_0(_jspx_th_datetime_format_0, pageContext))
          return true;
        int evalDoAfterBody = _jspx_th_datetime_format_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_datetime_format_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_format_pattern.reuse(_jspx_th_datetime_format_0);
    return false;
  }

  private boolean _jspx_meth_datetime_currentTime_0(javax.servlet.jsp.tagext.Tag _jspx_th_datetime_format_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:currentTime ---- */
    org.apache.taglibs.datetime.CurrentTimeTag _jspx_th_datetime_currentTime_0 = (org.apache.taglibs.datetime.CurrentTimeTag) _jspx_tagPool_datetime_currentTime_nobody.get(org.apache.taglibs.datetime.CurrentTimeTag.class);
    _jspx_th_datetime_currentTime_0.setPageContext(pageContext);
    _jspx_th_datetime_currentTime_0.setParent(_jspx_th_datetime_format_0);
    int _jspx_eval_datetime_currentTime_0 = _jspx_th_datetime_currentTime_0.doStartTag();
    if (_jspx_th_datetime_currentTime_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_currentTime_nobody.reuse(_jspx_th_datetime_currentTime_0);
    return false;
  }

  private boolean _jspx_meth_webshop_sicurrency_4(javax.servlet.jsp.tagext.Tag _jspx_th_webshop_siiterator_2, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  webshop:sicurrency ---- */
    jp.co.sint.taglib.SICurrencyTag _jspx_th_webshop_sicurrency_4 = (jp.co.sint.taglib.SICurrencyTag) _jspx_tagPool_webshop_sicurrency_value_nobody.get(jp.co.sint.taglib.SICurrencyTag.class);
    _jspx_th_webshop_sicurrency_4.setPageContext(pageContext);
    _jspx_th_webshop_sicurrency_4.setParent(_jspx_th_webshop_siiterator_2);
    _jspx_th_webshop_sicurrency_4.setValue(new String("0"));
    int _jspx_eval_webshop_sicurrency_4 = _jspx_th_webshop_sicurrency_4.doStartTag();
    if (_jspx_th_webshop_sicurrency_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_webshop_sicurrency_value_nobody.reuse(_jspx_th_webshop_sicurrency_4);
    return false;
  }
}
