📄 returnassets_jsp.java
字号:
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <th class=\"mainnotefont\" scope=\"row\"><div align=\"left\">归还列表</div></th>\r\n");
out.write(" <td><div align=\"right\"> </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </div></th>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
out.print(Constant.ROOTPATH);
out.write("images/");
out.print(css_name);
out.write("/maintabletophy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t \t");
// logic:notPresent
org.apache.struts.taglib.logic.NotPresentTag _jspx_th_logic_notPresent_0 = (org.apache.struts.taglib.logic.NotPresentTag) _jspx_tagPool_logic_notPresent_name.get(org.apache.struts.taglib.logic.NotPresentTag.class);
_jspx_th_logic_notPresent_0.setPageContext(_jspx_page_context);
_jspx_th_logic_notPresent_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_logic_notPresent_0.setName("RecordSet");
int _jspx_eval_logic_notPresent_0 = _jspx_th_logic_notPresent_0.doStartTag();
if (_jspx_eval_logic_notPresent_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" ");
Collection col = new ArrayList();
pageContext.setAttribute("RecordSet",col);
out.write("\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_logic_notPresent_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_logic_notPresent_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_logic_notPresent_name.reuse(_jspx_th_logic_notPresent_0);
out.write("\r\n");
out.write("\t\t\r\n");
out.write("\t\t");
cn.com.chx.util.PageControl pagectl = null;
synchronized (request) {
pagectl = (cn.com.chx.util.PageControl) _jspx_page_context.getAttribute("pagectl", PageContext.REQUEST_SCOPE);
if (pagectl == null){
pagectl = new cn.com.chx.util.PageControl();
_jspx_page_context.setAttribute("pagectl", pagectl, PageContext.REQUEST_SCOPE);
out.write("\r\n");
out.write("\t\t");
}
}
out.write("\r\n");
out.write(" <table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr> \r\n");
out.write(" <th rowspan=\"2\" class=\"maintableleft\" scope=\"col\"></th>\r\n");
out.write(" <th scope=\"col\"><table width=\"100%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
out.write(" <tr align=\"center\" class=\"mainlisttitle\"> \r\n");
out.write(" <td width=\"6%\" height=\"18\" class=\"mainlisttoptitle\"> </td>\r\n");
out.write(" <td width=\"19%\">品名</td>\r\n");
out.write(" <td width=\"13%\">规格</td>\r\n");
out.write(" <td width=\"23%\">使用人</td>\r\n");
out.write(" <td width=\"17%\">领用日期</td>\r\n");
out.write(" <td width=\"22%\">操作</td>\r\n");
out.write(" </tr>\r\n");
out.write("\t\t\t ");
if (_jspx_meth_commontag_getcontentid_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t ");
ArrayList Name=(ArrayList)pageContext.getAttribute("Name");
ArrayList ID =(ArrayList)pageContext.getAttribute("ID");
out.write("\r\n");
out.write("\t\t\t ");
if(pagectl.flag){
out.write("\r\n");
out.write(" <tr class=\"mainlisttable\">\r\n");
out.write(" <td align=center colspan=\"11\"> <font color=\"#CC0000\">没有相关记录! </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
}
out.write("\r\n");
out.write("\t\t\t\t");
boolean tr = true;
out.write("\r\n");
out.write("\t\t\t\t");
// logic:iterate
org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_property_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
_jspx_th_logic_iterate_0.setPageContext(_jspx_page_context);
_jspx_th_logic_iterate_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_logic_iterate_0.setId("ListShowBean");
_jspx_th_logic_iterate_0.setName("FixedAssessRegistrationForm4");
_jspx_th_logic_iterate_0.setProperty("RecordSet");
int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
java.lang.Object ListShowBean = null;
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_logic_iterate_0.doInitBody();
}
ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
do {
out.write("\r\n");
out.write(" ");
if (tr) {
out.write(" \r\n");
out.write("\t\t\t\t<tr align=\"center\" class=\"mainlisttabledark\"> \r\n");
out.write(" ");
}else{
out.write("\r\n");
out.write("\t\t\t\t<tr align=\"center\" class=\"mainlisttable\"> \r\n");
out.write("\t\t\t\t");
}
out.write("\r\n");
out.write("\t\t\t\t");
HashMap map = (HashMap)ListShowBean;
String id = (String)map.get("$reg_pk");
String Userid = (String)map.get("$record_user");
System.out.println(Userid);
String name = (String)Name.get(ID.indexOf(Userid));
out.write("\r\n");
out.write(" <td> </td>\r\n");
out.write(" <td>");
if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write(" <td>");
if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write(" <td>");
out.print(name);
out.write("</td>\r\n");
out.write(" <td>");
if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write(" <td><a href=\"javascript:submitForm('read','");
out.print(id);
out.write("')\">归</a></td>\r\n");
out.write(" </tr>\r\n");
out.write("\t\t\t ");
tr=!tr ;
out.write("\r\n");
out.write("\t\t\t");
int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = _jspx_page_context.popBody();
}
if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_logic_iterate_property_name_id.reuse(_jspx_th_logic_iterate_0);
out.write("\r\n");
out.write(" </table></th>\r\n");
out.write(" <th rowspan=\"2\" class=\"maintableright\" scope=\"col\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <td><table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"36%\" align=\"left\" class=\"mainlisttitle\"><div align=\"center\"><span class=\"wordhrm4\">当前/总数 (");
out.print(pagectl.fromRow);
out.write('-');
out.print(pagectl.toRow);
out.write(')');
out.write('/');
out.print(pagectl.totalRow);
out.write("</span></div></td>\r\n");
out.write(" <td width=\"64%\" align=\"center\" class=\"mainlisttitle\"><div align=\"right\"> 第");
// html:select
org.apache.struts.taglib.html.SelectTag _jspx_th_html_select_0 = (org.apache.struts.taglib.html.SelectTag) _jspx_tagPool_html_select_property_onchange.get(org.apache.struts.taglib.html.SelectTag.class);
_jspx_th_html_select_0.setPageContext(_jspx_page_context);
_jspx_th_html_select_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_select_0.setProperty("toPage");
_jspx_th_html_select_0.setOnchange("submitForm('goto','');");
int _jspx_eval_html_select_0 = _jspx_th_html_select_0.doStartTag();
if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_html_select_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_html_select_0.doInitBody();
}
do {
out.write("\r\n");
out.write(" ");
for(int i=1;i<=pagectl.totalPage;i++){
out.write("\r\n");
out.write(" ");
// html:option
org.apache.struts.taglib.html.OptionTag _jspx_th_html_option_0 = (org.apache.struts.taglib.html.OptionTag) _jspx_tagPool_html_option_value_nobody.get(org.apache.struts.taglib.html.OptionTag.class);
_jspx_th_html_option_0.setPageContext(_jspx_page_context);
_jspx_th_html_option_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_select_0);
_jspx_th_html_option_0.setValue(Integer.toString(i));
int _jspx_eval_html_option_0 = _jspx_th_html_option_0.doStartTag();
if (_jspx_th_html_option_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_html_option_value_nobody.reuse(_jspx_th_html_option_0);
out.write("\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_html_select_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_html_select_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = _jspx_page_context.popBody();
}
if (_jspx_th_html_select_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_html_select_property_onchange.reuse(_jspx_th_html_select_0);
out.write(" 页 <a href=\"#\" onclick=\"javascript:submitForm('prev','');\"><img src=\"");
out.print(Constant.ROOTPATH);
out.write("images/");
out.print(css_name);
out.write("/backpage.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"上一页\" align=\"absmiddle\" >上一页</a> <a href=\"#\" onclick=\"javascript:submitForm('next','');\">下一页<img src=\"");
out.print(Constant.ROOTPATH);
out.write("images/");
out.print(css_name);
out.write("/forwardpage.gif\" width=\"19\" height=\"19\" border=\"0\" alt=\"下一页\" align=\"absmiddle\" ></a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr> \r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
out.print(Constant.ROOTPATH);
out.write("images/");
out.print(css_name);
out.write("/maintablebottomhy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" <th valign=\"top\" class=\"maintablebottom\" scope=\"col\"><table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr> \r\n");
out.write(" <th scope=\"col\"> <div align=\"center\"> \r\n");
out.write(" </div></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr> \r\n");
out.write(" <th height=\"7\" scope=\"row\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></th>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"");
out.print(Constant.ROOTPATH);
out.write("images/");
out.print(css_name);
out.write("/maintablebottomhy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <table width=\"98%\" height=\"10\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr> \r\n");
out.write(" <th scope=\"col\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></th>\r\n");
out.write(" <th class=\"labletableright\" scope=\"col\"></th>\r\n");
out.write(" </tr> \r\n");
int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -