📄 shoppingcart_005fbody_jsp.java
字号:
out.write("\t\t\t\t\t\t\t\t <td valign=\"top\" class=\"cellUnits\">1</td>\n");
out.write("\t\t\t\t\t\t\t \t<!-- UNIT PRICE -->\n");
out.write("\t\t\t\t\t\t\t\t\t<td valign=\"top\" class=\"cellUnitPrice\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.unitPrice }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t\t\t\t\t<!-- GOODS PRICE -->\n");
out.write("\t\t\t\t\t\t\t\t\t<td valign=\"top\" class=\"cellGoodsPrice\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.amount }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\n");
out.write("\t\t\t\t\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
return true;
}
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
return false;
}
private boolean _jspx_meth_c_if_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_if_0, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_0)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_2.setPageContext(_jspx_page_context);
_jspx_th_c_if_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
_jspx_th_c_if_2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.product==null}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_2 = _jspx_th_c_if_2.doStartTag();
if (_jspx_eval_c_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t\t\t\t\t\t\t\t<td colspan=\"4\" class=\"cellDescription\">\n");
out.write("\t\t\t\t\t\t\t\t\t\t<p class=\"error\">\n");
out.write("\t\t\t\t\t\t\t\t\t\t\t<img align=\"absmiddle\" src=\"http://img-china.rs-online.com/cn03/img/site/search/arrowLeftRed.gif\"/> 系统未能确认此库存号,请重新输入\n");
out.write("\t\t\t\t\t\t\t\t\t\t</p>\n");
out.write("\t\t\t\t\t\t\t\t\t</td>\n");
out.write("\t\t\t\t\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_if_2.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2);
return true;
}
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_2);
return false;
}
private boolean _jspx_meth_c_if_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_forEach_0, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_0)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_3.setPageContext(_jspx_page_context);
_jspx_th_c_if_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_forEach_0);
_jspx_th_c_if_3.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${item.productId==null}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_3 = _jspx_th_c_if_3.doStartTag();
if (_jspx_eval_c_if_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\n");
out.write("\t\t\t\t\t\t\t\t<!-- stock number -->\t\n");
out.write("\t\t\t\t\t\t <td valign=\"top\" align=\"center\" class=\"cellStockNo\">\n");
out.write("\t\t\t\t\t\t\t\t\t<input type=\"hidden\" value=\"2347452\" name=\"oldstocknum\"/>\n");
out.write("\t\t\t\t\t\t\t\t\t<input type=\"text\" onkeydown=\"return checkEnter(event)\" value=\"\" name=\"items[");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${status.index }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("].productId\" class=\"cellStockNoField\"/>\n");
out.write("\t\t\t\t\t\t\t\t</td>\n");
out.write("\t\t\t\t\t\t\t\t<!-- QTY -->\n");
out.write("\t\t\t\t\t\t\t\t<td valign=\"top\" align=\"center\" class=\"cellQty\">\n");
out.write("\t\t\t\t\t\t\t\t\t<input type=\"text\" onkeydown=\"return checkEnterQty(event)\" value=\"\" name=\"items[");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${status.index }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("].quantity\" class=\"cellQtyField\"/>\n");
out.write("\t\t\t\t\t\t\t\t</td>\n");
out.write("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n");
out.write("\t\t\t\t\t\t\t\t<!-- DESCRIPTION + IMAGE -->\n");
out.write("\t\t\t\t\t\t\t <td colspan=\"5\" class=\"cellDescription\"></td>\n");
out.write("\t\t\t\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_if_3.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3);
return true;
}
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_3);
return false;
}
private boolean _jspx_meth_s_if_2(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:if
org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_2 = (org.apache.struts2.views.jsp.IfTag) _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
_jspx_th_s_if_2.setPageContext(_jspx_page_context);
_jspx_th_s_if_2.setParent(null);
_jspx_th_s_if_2.setTest("getSessionUser()==null");
int _jspx_eval_s_if_2 = _jspx_th_s_if_2.doStartTag();
if (_jspx_eval_s_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_if_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_if_2.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_if_2.doInitBody();
}
do {
out.write("\n");
out.write("\t\t\t\t <form method=\"post\" action=\"../other/auth.input.action\" name=\"orderOptionsForm\">\t\t\t\n");
out.write("\t\t\t\t\t\t");
if (_jspx_meth_s_hidden_0(_jspx_th_s_if_2, _jspx_page_context))
return true;
out.write("\n");
out.write("\t\t\t\t\t\t<input type=\"image\" class=\"cartProceedBtn\" title=\"Login & register\" \n");
out.write("\t\t\t\t\t\tonclick=\"form.submit();return false;\"\tsrc=\"../image/site/cart/KnownguestCheckout.gif\"/>\n");
out.write("\t\t\t\t</form>\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_s_if_2.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_s_if_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = _jspx_page_context.popBody();
}
if (_jspx_th_s_if_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_2);
return true;
}
_jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_2);
return false;
}
private boolean _jspx_meth_s_hidden_0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_if_2, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:hidden
org.apache.struts2.views.jsp.ui.HiddenTag _jspx_th_s_hidden_0 = (org.apache.struts2.views.jsp.ui.HiddenTag) _jspx_tagPool_s_hidden_value_name_nobody.get(org.apache.struts2.views.jsp.ui.HiddenTag.class);
_jspx_th_s_hidden_0.setPageContext(_jspx_page_context);
_jspx_th_s_hidden_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_if_2);
_jspx_th_s_hidden_0.setName("nextUrl");
_jspx_th_s_hidden_0.setValue("/product-category/order.input.action");
int _jspx_eval_s_hidden_0 = _jspx_th_s_hidden_0.doStartTag();
if (_jspx_th_s_hidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_hidden_value_name_nobody.reuse(_jspx_th_s_hidden_0);
return true;
}
_jspx_tagPool_s_hidden_value_name_nobody.reuse(_jspx_th_s_hidden_0);
return false;
}
private boolean _jspx_meth_s_if_3(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:if
org.apache.struts2.views.jsp.IfTag _jspx_th_s_if_3 = (org.apache.struts2.views.jsp.IfTag) _jspx_tagPool_s_if_test.get(org.apache.struts2.views.jsp.IfTag.class);
_jspx_th_s_if_3.setPageContext(_jspx_page_context);
_jspx_th_s_if_3.setParent(null);
_jspx_th_s_if_3.setTest("getSessionUser()!=null");
int _jspx_eval_s_if_3 = _jspx_th_s_if_3.doStartTag();
if (_jspx_eval_s_if_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_if_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_if_3.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_if_3.doInitBody();
}
do {
out.write("\n");
out.write("\t\t\t\t <form method=\"post\" action=\"../product-category/order.input.action\" name=\"orderOptionsForm\">\t\t\t\n");
out.write("\t\t\t\t\t");
if (_jspx_meth_s_hidden_1(_jspx_th_s_if_3, _jspx_page_context))
return true;
out.write("\t\t\t\t\t\n");
out.write("\t\t\t\t\t<input type=\"image\" class=\"cartProceedBtn\" title=\"Checkout now\" \n");
out.write("\t\t\t\t\t\tonclick=\"form.submit();return false;\"\tsrc=\"../image/site/cart/LoggedinCheckout.gif\"/>\n");
out.write("\t\t\t\t</form>\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_s_if_3.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_s_if_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = _jspx_page_context.popBody();
}
if (_jspx_th_s_if_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_3);
return true;
}
_jspx_tagPool_s_if_test.reuse(_jspx_th_s_if_3);
return false;
}
private boolean _jspx_meth_s_hidden_1(javax.servlet.jsp.tagext.JspTag _jspx_th_s_if_3, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:hidden
org.apache.struts2.views.jsp.ui.HiddenTag _jspx_th_s_hidden_1 = (org.apache.struts2.views.jsp.ui.HiddenTag) _jspx_tagPool_s_hidden_value_name_nobody.get(org.apache.struts2.views.jsp.ui.HiddenTag.class);
_jspx_th_s_hidden_1.setPageContext(_jspx_page_context);
_jspx_th_s_hidden_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_if_3);
_jspx_th_s_hidden_1.setName("nextUrl");
_jspx_th_s_hidden_1.setValue("");
int _jspx_eval_s_hidden_1 = _jspx_th_s_hidden_1.doStartTag();
if (_jspx_th_s_hidden_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_hidden_value_name_nobody.reuse(_jspx_th_s_hidden_1);
return true;
}
_jspx_tagPool_s_hidden_value_name_nobody.reuse(_jspx_th_s_hidden_1);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -