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

📄 usergroup_005feditor_jsp.java

📁 Jbuilder2006开发的严格按MVC设计模式组织开发过程
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
          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("</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("/actTopsSystemUserGroup");
          _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("    ");
              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 border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\">\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td colspan=\"6\" 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=\"38%\">\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("        </td>\r\n");
              out.write("        <td align=\"center\" width=\"12%\">组 名 称</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("        </td>\r\n");
              out.write("      </tr>\r\n");
              out.write("      <tr>\r\n");
              out.write("        <td align=\"center\" height=\"80\">备注\r\n");
              out.write("        </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("    </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");
              int _jspx_eval_logic_notEmpty_0 = _jspx_th_logic_notEmpty_0.doStartTag();
              if (_jspx_eval_logic_notEmpty_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                do {
                  out.write("\r\n");
                  out.write("                ");
boolean flag = false;                
                  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_name_indexId_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_logic_notEmpty_0);
                  _jspx_th_logic_iterate_0.setId("system");
                  _jspx_th_logic_iterate_0.setName("functionList");
                  _jspx_th_logic_iterate_0.setIndexId("index");
                  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 system = null;
                    java.lang.Integer index = 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();
                    }
                    system = (java.lang.Object) _jspx_page_context.findAttribute("system");
                    index = (java.lang.Integer) _jspx_page_context.findAttribute("index");
                    do {
                      out.write("\r\n");
                      out.write("                    ");
                      if (_jspx_meth_logic_equal_0(_jspx_th_logic_iterate_0, _jspx_page_context))
                        return;
                      out.write("\r\n");
                      out.write("                    ");
                      //  logic:notEqual
                      org.apache.struts.taglib.logic.NotEqualTag _jspx_th_logic_notEqual_1 = (org.apache.struts.taglib.logic.NotEqualTag) _jspx_tagPool_logic_notEqual_value_property_name.get(org.apache.struts.taglib.logic.NotEqualTag.class);
                      _jspx_th_logic_notEqual_1.setPageContext(_jspx_page_context);
                      _jspx_th_logic_notEqual_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
                      _jspx_th_logic_notEqual_1.setValue("0");
                      _jspx_th_logic_notEqual_1.setName("system");
                      _jspx_th_logic_notEqual_1.setProperty("funcLevel");
                      int _jspx_eval_logic_notEqual_1 = _jspx_th_logic_notEqual_1.doStartTag();
                      if (_jspx_eval_logic_notEqual_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                        do {
                          out.write("\r\n");
                          out.write("                    ");
                          //  logic:equal
                          org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_2 = (org.apache.struts.taglib.logic.EqualTag) _jspx_tagPool_logic_equal_value_property_name.get(org.apache.struts.taglib.logic.EqualTag.class);
                          _jspx_th_logic_equal_2.setPageContext(_jspx_page_context);
                          _jspx_th_logic_equal_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_notEqual_1);
                          _jspx_th_logic_equal_2.setValue("否");
                          _jspx_th_logic_equal_2.setName("system");
                          _jspx_th_logic_equal_2.setProperty("isSubFunction");
                          int _jspx_eval_logic_equal_2 = _jspx_th_logic_equal_2.doStartTag();
                          if (_jspx_eval_logic_equal_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                            do {
                              out.write("\r\n");
                              out.write("                      <br/>\r\n");
                              out.write("                      &nbsp;&nbsp;\r\n");
                              out.write("                      &nbsp;&nbsp;\r\n");
                              out.write("                    ");
flag = !flag;                    
                              out.write("\r\n");
                              out.write("                      <span> ");
if(flag==true){ 
                              out.write(" <font color=\"#CC6666\" style=\"font:bold\"> ");
}else{ 
                              out.write(" <font color=\"#CC9966\" style=\"font:bold\"> ");
} 
                              out.write(' ');
                              out.write('☆');
                              out.write(' ');
                              if (_jspx_meth_logic_equal_3(_jspx_th_logic_equal_2, _jspx_page_context))
                              return;
                              out.write(' ');
                              if (_jspx_meth_logic_notEqual_2(_jspx_th_logic_equal_2, _jspx_page_context))
                              return;
                              out.write(' ');
                              if (_jspx_meth_bean_write_14(_jspx_th_logic_equal_2, _jspx_page_context))
                              return;
                              out.write('(');
                              if (_jspx_meth_bean_write_15(_jspx_th_logic_equal_2, _jspx_page_context))
                              return;
                              out.write(")</font></span>\r\n");
                              out.write("                      &nbsp;&nbsp;\r\n");
                              out.write("                      &nbsp;&nbsp;\r\n");
                              out.write("                    ");
                              int evalDoAfterBody = _jspx_th_logic_equal_2.doAfterBody();
                              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                              break;
                            } while (true);
                          }
                          if (_jspx_th_logic_equal_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                            return;
                          _jspx_tagPool_logic_equal_value_property_name.reuse(_jspx_th_logic_equal_2);
                          out.write("\r\n");
                          out.write("                    ");
                          if (_jspx_meth_logic_equal_4(_jspx_th_logic_notEqual_1, _jspx_page_context))
                            return;
                          out.write("\r\n");
                          out.write("                    ");
                          int evalDoAfterBody = _jspx_th_logic_notEqual_1.doAfterBody();
                          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)

⌨️ 快捷键说明

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