📄 main_jsp.java
字号:
n++;
if(n<8){
if(tr) {
out.write("\r\n");
out.write(" <tr class=\"mainlisttabledark\">\r\n");
out.write(" ");
} else {
out.write("\r\n");
out.write(" <tr class=\"mainlisttablelight\">\r\n");
out.write(" ");
}
out.write("\r\n");
out.write("\t\t\t ");
HashMap map = (HashMap)ListShowBean ;
String instanceID = (String)map.get("instance_id");
String nodeID = (String)map.get("nodeID");
String appName =(String)map.get("appID");
String nodeStatus = (String)map.get("nodeStatus");
String action = "/oa"+(String)map.get("basicActionDo")+"&doKey="+instanceID+"&appName="+appName
+"&$instance_id="+instanceID+"&nodeID="+nodeID;
out.write("\r\n");
out.write(" <td align=\"center\"><a href=\"");
out.print(action);
out.write('"');
out.write('>');
if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write(" </a></td>\r\n");
out.write(" <td align=\"center\">");
String preUser = (String)map.get("preUser");
out.write("\r\n");
out.write("\t\t\t");
out.print(Convert.getUserNamebyId(preUser));
out.write("</td>\r\n");
out.write(" <td align=\"center\">\r\n");
out.write("\t\t\t");
String nodePlanEndTime = (String)map.get("nodePlanEndTime");
if(nodePlanEndTime!=null&&!nodePlanEndTime.equals("")){
if(nodePlanEndTime.length()>10)
out.write("\r\n");
out.write("\t\t\t");
out.print(nodePlanEndTime.substring(0,10));
out.write("\r\n");
out.write("\t\t\t");
}
out.write("</td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
tr=!tr ;
out.write("\r\n");
out.write("\t\t ");
}
out.write("\r\n");
out.write(" ");
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></td>\r\n");
out.write(" </tr>\r\n");
out.write("\t\t\t <tr>\r\n");
out.write("\t\t\t <td height=\"18\"><div align=\"right\"><a href=\"/oa/oaweb/instance/ListAllAction.do?actionType=query&workType=do\">更多...</a></div></td>\r\n");
out.write("\t\t\t </tr>\r\n");
out.write(" </table></th>\r\n");
out.write(" <th width=\"2%\" scope=\"col\"></th>\r\n");
out.write(" <th width=\"49%\" valign=\"top\" 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 colspan=\"4\" class=\"mainlisttitle\">今 日 日 程</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr align=\"center\" class=\"mainlisttablelight\">\r\n");
out.write("\t\t\t\t<td align=\"left\" height=170 width=480 valign=\"top\">\r\n");
out.write(" ");
OADate date = new OADate(System.currentTimeMillis());
ArrayList dal = (ArrayList)pageManager.getMytodayArrange(String.valueOf(date),userid);
if (dal.size()>0) {
for (int i = 0; i < dal.size(); i++) {
CalendarModel cm = (CalendarModel)dal.get(i);
out.println("<a href='/oa/oaweb/calendar/CalendarReadArrangeAction.do?actionType=read&doKey="+cm.getArrange_id()+"'> "+cm.getStart_time()+" "+cm.getTitle()+"</a><br>");
}
}
out.write("\r\n");
out.write(" </td>\r\n");
out.write("\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" </table></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></th>\r\n");
out.write(" <th class=\"maintableright\" scope=\"col\"></th>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"95%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"23\" height=\"22\" scope=\"col\"><img src=\"images/");
out.print(css_name);
out.write("/indexbottomleft.gif\" width=\"23\" height=\"22\"></th>\r\n");
out.write(" <th width=\"100%\" background=\"images/");
out.print(css_name);
out.write("/indexbottommiddle.gif\" scope=\"col\"></th>\r\n");
out.write(" <th width=\"23\" height=\"22\" scope=\"col\"><img src=\"images/");
out.print(css_name);
out.write("/indexbottomright.gif\" width=\"23\" height=\"22\"></th>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_html_form_scope_action.reuse(_jspx_th_html_form_0);
out.write("\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_html_hidden_0(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:hidden
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_0 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_value_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
_jspx_th_html_hidden_0.setPageContext(_jspx_page_context);
_jspx_th_html_hidden_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_hidden_0.setProperty("maxRecNoPerPage");
_jspx_th_html_hidden_0.setValue("7");
int _jspx_eval_html_hidden_0 = _jspx_th_html_hidden_0.doStartTag();
if (_jspx_th_html_hidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_0);
return false;
}
private boolean _jspx_meth_html_hidden_1(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:hidden
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_1 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
_jspx_th_html_hidden_1.setPageContext(_jspx_page_context);
_jspx_th_html_hidden_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_hidden_1.setProperty("currentPageNo");
int _jspx_eval_html_hidden_1 = _jspx_th_html_hidden_1.doStartTag();
if (_jspx_th_html_hidden_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_hidden_property_nobody.reuse(_jspx_th_html_hidden_1);
return false;
}
private boolean _jspx_meth_html_hidden_2(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:hidden
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_2 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
_jspx_th_html_hidden_2.setPageContext(_jspx_page_context);
_jspx_th_html_hidden_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_hidden_2.setProperty("recordNumber");
int _jspx_eval_html_hidden_2 = _jspx_th_html_hidden_2.doStartTag();
if (_jspx_th_html_hidden_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_hidden_property_nobody.reuse(_jspx_th_html_hidden_2);
return false;
}
private boolean _jspx_meth_bean_write_0(javax.servlet.jsp.tagext.JspTag _jspx_th_logic_iterate_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// bean:write
org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_0 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name_nobody.get(org.apache.struts.taglib.bean.WriteTag.class);
_jspx_th_bean_write_0.setPageContext(_jspx_page_context);
_jspx_th_bean_write_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
_jspx_th_bean_write_0.setName("ListShowBean");
_jspx_th_bean_write_0.setProperty("title");
int _jspx_eval_bean_write_0 = _jspx_th_bean_write_0.doStartTag();
if (_jspx_th_bean_write_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_bean_write_property_name_nobody.reuse(_jspx_th_bean_write_0);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -