📄 role_005flist_jsp.java
字号:
_jspx_tagPool_logic_notPresent_name.reuse(_jspx_th_logic_notPresent_0);
out.write("\r\n");
out.write("\r\n");
// html:form
org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_method_action.get(org.apache.struts.taglib.html.FormTag.class);
_jspx_th_html_form_0.setPageContext(_jspx_page_context);
_jspx_th_html_form_0.setParent(null);
_jspx_th_html_form_0.setAction("/oaweb/catalog/RoleAction.do");
_jspx_th_html_form_0.setMethod("POST");
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\r\n");
if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write('\r');
out.write('\n');
if (_jspx_meth_html_hidden_1(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write('\r');
out.write('\n');
if (_jspx_meth_html_hidden_2(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write('\r');
out.write('\n');
if (_jspx_meth_html_hidden_3(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write('\r');
out.write('\n');
if (_jspx_meth_html_hidden_4(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
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("<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=\"../images/");
out.print(css_name);
out.write("/maintabletophy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" <th class=\"mainnoteword\" scope=\"col\"><div align=\"center\">\r\n");
out.write(" <table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"40%\" height=\"7\" scope=\"col\"></th>\r\n");
out.write(" <th width=\"60%\" height=\"7\" scope=\"col\"></th>\r\n");
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=\"../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("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th height=\"24\" 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=\"mainlisttabledark\">\r\n");
out.write(" <td width=\"26%\" class=\"mainlisttabledark\"><div align=\"right\">角色类别:</div></td>\r\n");
out.write(" <td width=\"74%\" class=\"mainlisttable\"><div align=\"left\">\r\n");
out.write(" <input name=\"q_equal_str_ROLE_TYPE\" type=\"radio\" value=\"0\" >\r\n");
out.write(" 普通角色\r\n");
out.write(" <input type=\"radio\" name=\"q_equal_str_ROLE_TYPE\" value=\"1\">\r\n");
out.write(" 部门角色 </div></td>\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=\"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=\"../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(" <input type=\"button\" name=\"submit12\" value=\"查 询\" class=\"button\" onclick=\"javascript:submitForm('query','');\">\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=\"../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%\" 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=\"../images/");
out.print(css_name);
out.write("/maintabletophy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" <th class=\"mainnoteword\" scope=\"col\"><div align=\"center\">\r\n");
out.write(" <table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"40%\" height=\"7\" scope=\"col\"></th>\r\n");
out.write(" <th width=\"60%\" height=\"7\" scope=\"col\"></th>\r\n");
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><td>\r\n");
out.write("<div align=\"right\">\r\n");
out.write("<font color=\"#FF0000\">\r\n");
if (_jspx_meth_c_out_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("</font>\r\n");
out.write("</div>\r\n");
out.write("</td></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=\"../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("<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=\"10%\" class=\"mainlisttoptitle\">角色号</td>\r\n");
out.write(" <td width=\"24%\" class=\"mainlisttoptitle\">角色名称</td>\r\n");
out.write(" <td width=\"12%\">角色类别</td>\r\n");
out.write(" <td width=\"29%\">说明</td>\r\n");
out.write(" <td width=\"19%\">操作</td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write("\t\t");
if (_jspx_meth_c_if_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_set_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
// 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("RoleForm");
_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 (_jspx_meth_c_if_1(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_2(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" <td nowrap> <p align=\"center\">\r\n");
out.write(" ");
HashMap map = (HashMap)ListShowBean;
String id = (String)map.get("$ROLE_PK");
String type = (String)map.get("$ROLE_TYPE");
String outtype="";
//0、普通角色
//1、部门角色
if(type.equalsIgnoreCase("0")){
outtype="普通角色";
}
if(type.equalsIgnoreCase("1")){
outtype="部门角色";
}
out.write("\r\n");
out.write("\r\n");
out.write(" <input name=\"selected\" type=\"checkbox\" value=\"");
out.print(id);
out.write("\">\r\n");
out.write(" </td>\r\n");
out.write("\t\t <td>\r\n");
out.write("\t\t\t");
if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t</td>\r\n");
out.write("\t\t\t <td>\r\n");
out.write("\t\t\t");
if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t</td>\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -