⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_005feditor_jsp.java

📁 Jbuilder2006开发的严格按MVC设计模式组织开发过程
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
          out.write("}\r\n");
          out.write("\r\n");
          out.write("function systemChanged(sysId){\r\n");
          out.write("  var sysObj=document.getElementsByName(sysId);\r\n");
          out.write("  var moduleIndex=0,operatorIndex=0;\r\n");
          out.write("  if(sysObj[0].checked==true){\r\n");
          out.write("    while(true){\r\n");
          out.write("      moduleIndex++;\r\n");
          out.write("      var strmoduleIndex=moduleIndex.toString();\r\n");
          out.write("      while(strmoduleIndex.length<2){\r\n");
          out.write("        strmoduleIndex='0'+strmoduleIndex;\r\n");
          out.write("      }\r\n");
          out.write("      var moduleObj=document.getElementsByName(sysId+\".\"+strmoduleIndex);\r\n");
          out.write("      if(moduleObj[0]==null || typeof(moduleObj)==\"undefined\"){\r\n");
          out.write("        break;\r\n");
          out.write("      }else{\r\n");
          out.write("        moduleObj[0].checked=true;\r\n");
          out.write("        operatorIndex=0;\r\n");
          out.write("        while(true){\r\n");
          out.write("          operatorIndex++;\r\n");
          out.write("          var stroperatorIndex=operatorIndex.toString();\r\n");
          out.write("          while(stroperatorIndex.length<2){\r\n");
          out.write("            stroperatorIndex='0'+stroperatorIndex;\r\n");
          out.write("          }\r\n");
          out.write("          var operatorObj=document.getElementsByName(sysId+\".\"+strmoduleIndex+\".\"+stroperatorIndex);\r\n");
          out.write("          if(operatorObj[0]==null || typeof(operatorObj)==\"undefined\"){\r\n");
          out.write("            break;\r\n");
          out.write("          }else{\r\n");
          out.write("            operatorObj[0].checked=true;\r\n");
          out.write("          }\r\n");
          out.write("        }\r\n");
          out.write("      }\r\n");
          out.write("    }\r\n");
          out.write("  }else{\r\n");
          out.write("    while(true){\r\n");
          out.write("      moduleIndex++;\r\n");
          out.write("      var strmoduleIndex=moduleIndex.toString();\r\n");
          out.write("      while(strmoduleIndex.length<2){\r\n");
          out.write("        strmoduleIndex='0'+strmoduleIndex;\r\n");
          out.write("      }\r\n");
          out.write("      var moduleObj=document.getElementsByName(sysId+\".\"+strmoduleIndex);\r\n");
          out.write("      if(moduleObj[0]==null || typeof(moduleObj)==\"undefined\"){\r\n");
          out.write("        break;\r\n");
          out.write("      }else{\r\n");
          out.write("        moduleObj[0].checked=false;\r\n");
          out.write("        operatorIndex=0;\r\n");
          out.write("        while(true){\r\n");
          out.write("          operatorIndex++;\r\n");
          out.write("          var stroperatorIndex=operatorIndex.toString();\r\n");
          out.write("          while(stroperatorIndex.length<2){\r\n");
          out.write("            stroperatorIndex='0'+stroperatorIndex;\r\n");
          out.write("          }\r\n");
          out.write("          var operatorObj=document.getElementsByName(sysId+\".\"+strmoduleIndex+\".\"+stroperatorIndex);\r\n");
          out.write("          if(operatorObj[0]==null || typeof(operatorObj)==\"undefined\"){\r\n");
          out.write("            break;\r\n");
          out.write("          }else{\r\n");
          out.write("            operatorObj[0].checked=false;\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("function moduleChanged(moduleId){\r\n");
          out.write("  var moduleObj=document.getElementsByName(moduleId);\r\n");
          out.write("  var operatorIndex=0;\r\n");
          out.write("  if(moduleObj[0].checked==true){\r\n");
          out.write("    while(true){\r\n");
          out.write("      operatorIndex++;\r\n");
          out.write("      var stroperatorIndex=operatorIndex.toString();\r\n");
          out.write("      while(stroperatorIndex.length<2){\r\n");
          out.write("        stroperatorIndex='0'+stroperatorIndex;\r\n");
          out.write("      }\r\n");
          out.write("      var operatorObj=document.getElementsByName(moduleId+\".\"+stroperatorIndex);\r\n");
          out.write("      if(operatorObj[0]==null || typeof(operatorObj)==\"undefined\"){\r\n");
          out.write("        break;\r\n");
          out.write("      }else{\r\n");
          out.write("        operatorObj[0].checked=true;\r\n");
          out.write("      }\r\n");
          out.write("    }\r\n");
          out.write("  }else{\r\n");
          out.write("    while(true){\r\n");
          out.write("      operatorIndex++;\r\n");
          out.write("      var stroperatorIndex=operatorIndex.toString();\r\n");
          out.write("      while(stroperatorIndex.length<2){\r\n");
          out.write("        stroperatorIndex='0'+stroperatorIndex;\r\n");
          out.write("      }\r\n");
          out.write("      var operatorObj=document.getElementsByName(moduleId+\".\"+stroperatorIndex);\r\n");
          out.write("      if(operatorObj[0]==null || typeof(operatorObj)==\"undefined\"){\r\n");
          out.write("        break;\r\n");
          out.write("      }else{\r\n");
          out.write("        operatorObj[0].checked=false;\r\n");
          out.write("      }\r\n");
          out.write("    }\r\n");
          out.write("  }\r\n");
          out.write("}\r\n");
          out.write("\r\n");
          out.write("</script>\r\n");
          out.write("  </head>\r\n");
          out.write("  <body>\r\n");
          out.write("  ");
          //  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((javax.servlet.jsp.tagext.Tag) _jspx_th_html_html_0);
          _jspx_th_html_form_0.setAction("/actTopsSystemUser");
          _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("    ");
              if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("    ");
              if (_jspx_meth_html_hidden_1(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("    <input type=\"hidden\" name=\"departmentid\" value=\"");
              out.print(request.getAttribute("deptId"));
              out.write("\"/>\r\n");
              out.write("    ");
              if (_jspx_meth_tops_showPageFunction_0(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("    ");
              if (_jspx_meth_tops_toolbar_0(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("    <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\">\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td colspan=\"8\" align=\"center\" nowrap class=\"head\">用户信息</td>\r\n");
              out.write("      </tr>\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td align=\"center\" height=\"20\" width=\"12%\">员工姓名</td>\r\n");
              out.write("        <td width=\"35%\">\r\n");
              out.write("          ");
              if (_jspx_meth_tops_formEditor_0(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("          ");
              if (_jspx_meth_html_hidden_2(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("        </td>\r\n");
              out.write("        <td align=\"center\">帐号是否启用</td>\r\n");
              out.write("        <td>\r\n");
              out.write("          ");
              if (_jspx_meth_tops_formSelector_0(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("        </td>\r\n");
              out.write("      </tr>\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td align=\"center\" height=\"20\">系统帐号</td>\r\n");
              out.write("        <td>\r\n");
              out.write("          ");
              if (_jspx_meth_tops_formEditor_1(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("          <input type=\"button\" value=\"验证帐号\" onclick=\"AjaxTopsSystemUser_isLogonidExist()\"/>\r\n");
              out.write("        </td>\r\n");
              out.write("        <td align=\"center\">登陆密码</td>\r\n");
              out.write("        <td colspan=\"3\">\r\n");
              out.write("          ");
              if (_jspx_meth_tops_formEditor_2(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("        </td>\r\n");
              out.write("      </tr>\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td align=\"center\">最后登陆时间</td>\r\n");
              out.write("        <td>\r\n");
              out.write("          ");
              if (_jspx_meth_tops_formEditor_3(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("        </td>\r\n");
              out.write("        <td align=\"center\" height=\"20\">工作组</td>\r\n");
              out.write("        <td colspan=\"3\">\r\n");
              out.write("          ");
              if (_jspx_meth_tops_formSelector_1(_jspx_th_html_form_0, _jspx_page_context))
                return;
              out.write("\r\n");
              out.write("        </td>\r\n");
              out.write("      </tr>\r\n");
              out.write("    </table>\r\n");
              out.write("    <table cellpadding=\"0\" cellspacing=\"1\" border=\"0\" width=\"100%\">\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td align=\"center\" nowrap class=\"head\">用  户 权 限</td>\r\n");
              out.write("      </tr>\r\n");
              out.write("    </table>\r\n");
              out.write("    <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td width=\"80%\" align=\"center\">\r\n");
              out.write("          <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"80%\">\r\n");
              out.write("            <tr align=\"left\">\r\n");
              out.write("              <td height=\"20\">\r\n");
              out.write("                 ");
              //  logic:notEmpty
              org.apache.struts.taglib.logic.NotEmptyTag _jspx_th_logic_notEmpty_0 = (org.apache.struts.taglib.logic.NotEmptyTag) _jspx_tagPool_logic_notEmpty_name.get(org.apache.struts.taglib.logic.NotEmptyTag.class);
              _jspx_th_logic_notEmpty_0.setPageContext(_jspx_page_context);
              _jspx_th_logic_notEmpty_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
              _jspx_th_logic_notEmpty_0.setName("functionList");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -