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

📄 advancedfiltermodehtml.jsp

📁 一套JAVA的CA证书签发系统.
💻 JSP
📖 第 1 页 / 共 3 页
字号:
                  && Integer.parseInt(oldmatchwithrow1) != UserMatch.MATCH_WITH_CERTIFICATEPROFILE                  && Integer.parseInt(oldmatchwithrow1) != UserMatch.MATCH_WITH_CA){ %>          <option <%  if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>               <% }             }else{ %>          <option <%  if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>            <% } %>        </select> &nbsp;&nbsp;         <select name="<%=SELECT_MATCHVALUE_ROW1 %>"           <% if(oldmatchwithrow1 != null){                 if(oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_ENDENTITYPROFILE))){ %>              >                <% iter = endentityprofileids.keySet().iterator();                   while(iter.hasNext()){                     String next = (String) iter.next();                     int id = ((Integer) endentityprofileids.get(next)).intValue();%>          <option <% if(oldmatchvaluerow1!= null){                       if(Integer.parseInt(oldmatchvaluerow1) == id)                         out.write(" selected ");                    } %> value='<%= id %>'><%= next %>          </option>                                   <%  }                  }                  else{                   if(oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_CERTIFICATEPROFILE))){ %>              >                  <% iter = certificateprofileids.keySet().iterator();                     while(iter.hasNext()){                       String next = (String) iter.next();                       int id = ((Integer) certificateprofileids.get(next)).intValue();%>            <option <% if(oldmatchvaluerow1!= null){                         if(Integer.parseInt(oldmatchvaluerow1) == id)                           out.write(" selected ");                      } %> value='<%= id %>'><%= next %>            </option>                                   <%  }                  }                  else{                    if(oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_CA))){ %>              >                  <% iter = caids.keySet().iterator();                     while(iter.hasNext()){                       String next = (String) iter.next();                       int id = ((Integer) caids.get(next)).intValue();%>            <option <% if(oldmatchvaluerow1!= null){                         if(Integer.parseInt(oldmatchvaluerow1) == id)                           out.write(" selected ");                      } %> value='<%= id %>'><%= next %>            </option>                                   <%   }                   }                  else{                    if(oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_STATUS))){ %>               >              <%                tempval = -1;                if(oldmatchtyperow1!= null)                  tempval= Integer.parseInt(oldmatchvaluerow1);                for(int k=0;k<availablestatuses.length;k++){ %>      <option <% if( tempval == availablestatuses[k])                     out.write("selected"); %>              value='<%= availablestatuses[k] %>'><%= ejbcawebbean.getText(availablestatustexts[k]) %></option>             <% } %>           <% } else{ %>          disabled >       <%  }         }}}        }else{ %>          disabled >      <% } %>       </select>       <% if( oldmatchwithrow1!= null){           if( oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_STATUS))  || oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_ENDENTITYPROFILE))               || oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_CERTIFICATEPROFILE)) || oldmatchwithrow1.equals(Integer.toString(UserMatch.MATCH_WITH_CA))){ %>       <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW1 %>"  size="1" maxlength="255" value='' disabled >               <% }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW1 %>" size="40" maxlength="255" value='<%=oldmatchvaluerow1 %>' >           <% }           }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW1 %>" size="40" maxlength="255" value='' >        <% } %>    </td>  </tr>  <tr>     <td width="2%">&nbsp;</td>    <td width="5%" align="left">       <select name='<%= SELECT_CONNECTOR_ROW2  %>'>           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>         </option>         <% for(int i=0; i<  connectorreferences.length; i++) { %>          <option <% if(oldconnectorrow2 != null)                      if(oldconnectorrow2.equals(Integer.toString(i)))                         out.print(" selected ");                      %> value='<%= i %>'>            <%= ejbcawebbean.getText(connectorreferences[i]) %>         </option>          <% } %>        </select>    </td>    <td width="93%" align="left">         <% tempval = -1;           if(oldmatchwithrow2!= null)             tempval= Integer.parseInt(oldmatchwithrow2); %>        <select name="<%=SELECT_MATCHWITH_ROW2 %>" onchange='changematchfields(2)' >           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>           </option>           <% for(int i =0; i < matchwithfields.length;i++){ %>             <option <%  if(tempval == matchwithfields[i])                         out.write(" selected ");                    %> value='<%= matchwithfields[i] %>'><%= ejbcawebbean.getText(matchwithtexts[i]) %>           </option>           <% } %>        </select> &nbsp;&nbsp;          <%           tempval = -1;           if(oldmatchtyperow2!= null)             tempval= Integer.parseInt(oldmatchtyperow2);          %>        <select name="<%=SELECT_MATCHTYPE_ROW2 %>">          <% if(oldmatchwithrow2 != null){               if(Integer.parseInt(oldmatchwithrow2) < 100){ %>          <option <%  if(tempval == BasicMatch.MATCH_TYPE_EQUALS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_EQUALS) %>'><%= ejbcawebbean.getText("EQUALS") %>          </option>             <%  }               }else{ %>          <option <% if(tempval == BasicMatch.MATCH_TYPE_EQUALS){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_EQUALS) %>'><%= ejbcawebbean.getText("EQUALS") %>          </option>             <% }%>          <% if(oldmatchwithrow2 != null){               if(   Integer.parseInt(oldmatchwithrow2) != UserMatch.MATCH_WITH_STATUS                   && Integer.parseInt(oldmatchwithrow2) != UserMatch.MATCH_WITH_ENDENTITYPROFILE                  && Integer.parseInt(oldmatchwithrow2) != UserMatch.MATCH_WITH_CERTIFICATEPROFILE                  && Integer.parseInt(oldmatchwithrow2) != UserMatch.MATCH_WITH_CA){ %>          <option <%  if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>               <% }             }else{ %>          <option <%  if(tempval == BasicMatch.MATCH_TYPE_BEGINSWITH){                         out.write(" selected ");                    } %> value='<%= Integer.toString(BasicMatch.MATCH_TYPE_BEGINSWITH) %>'><%= ejbcawebbean.getText("BEGINSWITH") %>          </option>            <% } %>        </select> &nbsp;&nbsp;         <select name="<%=SELECT_MATCHVALUE_ROW2 %>"           <% if(oldmatchwithrow2 != null){                 if(oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_ENDENTITYPROFILE))){ %>              >                <% iter = endentityprofileids.keySet().iterator();                   while(iter.hasNext()){                     String next = (String) iter.next();                     int id = ((Integer) endentityprofileids.get(next)).intValue();%>          <option <% if(oldmatchvaluerow2!= null){                       if(Integer.parseInt(oldmatchvaluerow2) == id)                         out.write(" selected ");                    } %> value='<%= id %>'><%= next %>          </option>                                   <%  }                  }                  else{                   if(oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_CERTIFICATEPROFILE))){ %>              >                  <% iter = certificateprofileids.keySet().iterator();                     while(iter.hasNext()){                       String next = (String) iter.next();                       int id = ((Integer) certificateprofileids.get(next)).intValue();%>            <option <% if(oldmatchvaluerow2!= null){                         if(Integer.parseInt(oldmatchvaluerow2) == id)                           out.write(" selected ");                      } %> value='<%= id %>'><%= next %>            </option>                                   <%  }                  }                  else{                    if(oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_CA))){ %>              >                  <% iter = caids.keySet().iterator();                     while(iter.hasNext()){                       String next = (String) iter.next();                       int id = ((Integer) caids.get(next)).intValue();%>            <option <% if(oldmatchvaluerow2!= null){                         if(Integer.parseInt(oldmatchvaluerow2) == id)                           out.write(" selected ");                      } %> value='<%= id %>'><%= next %>            </option>                                   <%   }                   }                  else{                    if(oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_STATUS))){ %>               >              <%                tempval = -1;                if(oldmatchtyperow2!= null)                  tempval= Integer.parseInt(oldmatchvaluerow2);                for(int k=0;k<availablestatuses.length;k++){ %>      <option <% if( tempval == availablestatuses[k])                     out.write("selected"); %>              value='<%= availablestatuses[k] %>'><%= ejbcawebbean.getText(availablestatustexts[k]) %></option>             <% } %>           <% } else{ %>          disabled >       <%  }         }}}        }else{ %>          disabled >      <% } %>       </select>       <% if( oldmatchwithrow2!= null){           if( oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_STATUS))  || oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_ENDENTITYPROFILE))               || oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_CERTIFICATEPROFILE))  || oldmatchwithrow2.equals(Integer.toString(UserMatch.MATCH_WITH_CA))){ %>       <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW2 %>"  size="1" maxlength="255" value='' disabled >               <% }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW2 %>" size="40" maxlength="255" value='<%=oldmatchvaluerow2 %>' >           <% }           }else{ %>              <input type="text" name="<%=TEXTFIELD_MATCHVALUE_ROW2 %>" size="40" maxlength="255" value='' >        <% } %>    </td>  </tr>  <tr>     <td width="2%">&nbsp;</td>    <td width="5%" align="left">       <select name='<%= SELECT_CONNECTOR_ROW3  %>'>           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>         </option>         <% for(int i=0; i<  connectorreferences.length; i++) { %>          <option <% if(oldconnectorrow3 != null)                      if(oldconnectorrow3.equals(Integer.toString(i)))                         out.print(" selected ");                      %> value='<%= i %>'>            <%= ejbcawebbean.getText(connectorreferences[i]) %>         </option>          <% } %>        </select>    </td>    <td width="93%" align="left">         <% tempval = -1;           if(oldmatchwithrow3!= null)             tempval= Integer.parseInt(oldmatchwithrow3); %>        <select name="<%=SELECT_MATCHWITH_ROW3 %>" onchange='changematchfields(3)' >           <option  value='<%= VALUE_NONE %>'><%= ejbcawebbean.getText("NONE") %>           </option>           <% for(int i =0; i < matchwithfields.length;i++){ %>           <option <%  if(tempval == matchwithfields[i])                         out.write(" selected ");                    %> value='<%= matchwithfields[i] %>'><%= ejbcawebbean.getText(matchwithtexts[i]) %>           </option>           <% } %>        </select> &nbsp;&nbsp;          <%           tempval = -1;           if(oldmatchtyperow3!= null)             tempval= Integer.parseInt(oldmatchtyperow3);          %>

⌨️ 快捷键说明

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