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

📄 receiptpage.jspf

📁 JAVA做的J2EE下CA认证系统 基于EJB开发
💻 JSPF
字号:
<%               
  int[] receipttypes = {IReceiptSettings.RECEIPTTYPE_NONE, IReceiptSettings.RECEIPTTYPE_GENERAL};
  String[] receipttypetexts = {"NONE","GENERALRECEIPT"};

  IReceiptSettings receiptprofile = (IReceiptSettings) helper.profiledata;
%>
   <tr id="Row<%=row++%2%>"> 
      <td width="50%" valign="top"> 
        <div align="right"> 
         &nbsp;
        </div>
      </td>
      <td width="50%" valign="top"> 
         &nbsp;
      </td>
   </tr>
   <tr id="Row<%=row++%2%>"> 
      <td width="50%" valign="top"> 
        <div align="right"> 
          <%= ejbcawebbean.getText("RECEIPTSETTINGS") %>:
        </div>
      </td>
      <td width="50%" valign="top"> 
         &nbsp;
      </td>
    </tr>
    <tr id="Row<%=row++%2%>"> 
      <td width="50%" valign="top"> 
        <div align="right"> 
          <%= ejbcawebbean.getText("RECEIPTTYPE") %>
        </div>
      </td>
      <td width="50%" valign="top">   
        <select name="<%=EditHardTokenProfileJSPHelper.SELECT_RECEIPTTYPE%>" size="1"  >       
            <% int currentreceipttype = receiptprofile.getReceiptType();
               for(int i=0; i < receipttypes.length ; i ++){%>
              <option value="<%=receipttypes[i]%>" <% if(receipttypes[i] == currentreceipttype) out.write(" selected "); %>> 
                  <%= ejbcawebbean.getText(receipttypetexts[i]) %>
               </option>
            <%}%>
          </select>         
      </td>
    </tr>
    <tr id="Row<%=row++%2%>"> 
      <td width="50%" valign="top"> 
        <div align="right"> 
          <%= ejbcawebbean.getText("CURRENTTEMPLATE") %>
        </div>
      </td>
      <td width="50%" valign="top">          
         <% if(receiptprofile.getReceiptTemplateFilename() == null || receiptprofile.getReceiptTemplateFilename().equals("")){
              out.write("NONE");
            }else{
              out.write(receiptprofile.getReceiptTemplateFilename());
            }
         %> 
      </td>
    </tr>
    <tr id="Row<%=row++%2%>"> 
      <td width="50%" valign="top"> 
        <div align="right"> 
          <%= ejbcawebbean.getText("UPLOADTEMPLATE") %>
        </div>
      </td>
      <td width="50%" valign="top">          
        <input type="submit" name="<%= EditHardTokenProfileJSPHelper.BUTTON_UPLOADRECEIPTTEMP %>" onClick='return checkallfields()' value="<%= ejbcawebbean.getText("UPLOADTEMPLATE") %>">
      </td>
    </tr>
    <tr id="Row<%=row++%2%>"> 
      <td width="50%" valign="top"> 
        <div align="right"> 
          <%= ejbcawebbean.getText("NUMOFRECEIPTCOPIES") %>
        </div>
      </td>
      <td width="50%" valign="top"> 
        <select name="<%=EditHardTokenProfileJSPHelper.SELECT_NUMOFRECEIPTCOPIES%>" size="1"  >
           <%   for(int i=1; i<5;i++){ %>
           <option  value="<%= i %>" 
              <% if(receiptprofile.getNumberOfReceiptCopies() == i) out.write(" selected "); %>> 
              <%= i %>
           </option>
           <%   } %> 
        </select>
      </td>
    </tr>

⌨️ 快捷键说明

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