JSP學習

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
 <%--#include virtual="pankuzu/c_header.html" --%>
<%-- ▼パンクズエリア▼--%>
<table cellpadding="0" cellspacing="0" class="title-area" border="0">
 <tr>
  <td class="pankuzu">
      <%-- 20110513_M-9011_START --%>
    <%-- &nbsp;<html:link onclick="submitCBOForm('SCCBB0110Link')" href="#">作業選択</html:link> --%>
   <%-- &nbsp;&gt;&nbsp;<html:link onclick="submitCBOForm('SCCBB0150160Link')" href="#">評定點付與の作業選択</html:link> --%>
   <%-- &nbsp;&gt;&nbsp;<span>処理狀況確認 </span> --%>
   <%@ include file="../toppath.jsp" %>
      <%-- 20110513_M-9011_END--%>
  </td>
 </tr>
</table>
<%--#include virtual="pankuzu/footer.html" --%>
<%-- ▲パンクズエリア▲--%>
<html:form action="/SCCBO0310" styleId="SCCBO0310Form">
 <html:hidden property="modeAction" />
  <html:hidden property="modeDisplay" />
  <html:hidden property="processNumber" />
    <div class="headline-guidance"></div>
 <!--▼見出し▼-->
 <div class="ct-headline">処理狀況確認</div>
 <!--▲見出し▲-->
 <div class="table-area" >
  <div class="guidance">処理狀況を表示しています。</div>
        <logic:notEmpty name="SCCBO0310Form" property="statusList">
   <table class="table-view width100per"  >
    <thead>
     <tr>
      <td class="fontbold nowrap" colspan="8">
       <input type="button" name="btnLatestState" id="btnLatestState" value="処理狀況を最新にする" class="btn-main" onclick="submitCBOForm('refresh')"></input>
       ←本畫面を表示後、しばらく時間が経過してから、「処理狀況」欄の”処理中”の最新狀況を確認するときに押します。
      </td>
     </tr>
     <tr>
      <th class="nowrap width5per">&nbsp;</th>
      <th class="nowrap width8per">処理狀況</th>
      <th class="nowrap width10per">処理種別</th>
      <th class="nowrap width15per">処理開始日時</th>
      <th class="nowrap width15per">処理完了日時&nbsp;</th>
      <th class="nowrap width50per">処理內容</th>
      <th class="nowrap">実績データ數</th>
      <th class="nowrap width5per">未使用評定點</th>
     </tr>
    </thead>
    <tbody >
           <logic:iterate id="item"  name="SCCBO0310Form"  property="statusList" indexId="rowNum">
            <tr class="<%= rowNum.intValue()%2 == 0 ? "ct-tr001" : "ct-tr002" %> valigntop">
             <!-- 項番  -->
          <td class="aligncenter nowrap" >
          <%=rowNum.intValue()+1%>  
          </td>
          <!-- 処理狀況  -->
          <td class="aligncenter" >
         <logic:equal name="item" property="processStatusCode" value="1">
         <html:link onclick="setSelect('${item.processNumber}');submitCBOForm('pressingLink')" href="#">
             <bean:write name="item" property="processStatus" />
            </html:link> 
        </logic:equal>
        <logic:equal name="item" property="processStatusCode" value="2">
            <bean:write name="item" property="processStatus" /> 
        </logic:equal>
        <logic:equal name="item" property="processStatusCode" value="3">
         <html:link onclick="setSelect('${item.processNumber}');submitCBOForm('errorLink')" href="#">
             <bean:write name="item" property="processStatus" />
            </html:link> 
        </logic:equal>
          </td>
          <!-- 処理種別  -->
          <td class="aligncenter" >
        <bean:write name="item" property="processType" />
          </td>
          <!-- 処理開始日時   -->
          <td class="aligncenter nowrap" >
             <logic:notEqual name="item" property="processStartDate" value="">
         <bean:write name="item" property="processStartDate" />
        </logic:notEqual>
        <logic:equal name="item" property="processStartDate" value="">
         -
        </logic:equal>
          </td>
          <!-- 処理完了日時   -->
          <td class="aligncenter nowrap" >
         <logic:notEqual name="item" property="processEndDate" value="">
         <bean:write name="item" property="processEndDate" />
        </logic:notEqual>
        <logic:equal name="item" property="processEndDate" value="">
         -
        </logic:equal>
          </td>
          <!-- 処理內容  -->
             <td >
           <bean:write name="item" property="processComment" />
          </td>
          <!-- 実績データ數   -->
          <td class="aligncenter" >
        <bean:write name="item" property="count" />
          </td>
          <!-- 未使用評定點   -->
          <td class="aligncenter">
        <logic:equal name="item" property="unusedRatingPointDivision" value="true">
         <html:button property="downLoad" value="ダウンロード" styleClass="btn-sub-n" onclick="download('${item.processNumber}','download')"/>
        </logic:equal>
        <logic:equal name="item" property="unusedRatingPointDivision" value="false">
          -
        </logic:equal>
          </td>
         </tr>
              </logic:iterate>
        </tbody>
       </table>
      </logic:notEmpty>
    </div>
 <!-- ▼ボタン 領域▼ -->
 <table class="btnlayout">
  <tr>
   <td class="alignleft">
    <input type="button" name="btnBack" id="btnBack" value="&nbsp;戻&nbsp;る&nbsp;" class="btn-main" onclick="submitCBOForm('Back')"></input>
   </td>
  </tr>
 </table>
 <!-- ▼ボタン 領域▼ -->
 <logic:messagesPresent>
        <SCRIPT language="JavaScript">
         window.alert('<html:messages id="msg" message="false"><bean:write name="msg" />/n</html:messages>');
        </SCRIPT>
    </logic:messagesPresent>
    <logic:notEmpty name="SCCBO0310Form" property="errorMessage">
        <SCRIPT language="JavaScript">
         window.alert('<bean:write name="SCCBO0310Form" property="errorMessage"/>');
        </SCRIPT>
    </logic:notEmpty>
    <%-- 20110518_M-1032_START --%>
    <logic:notEmpty name="SCCBO0310Form" property="statusList">
  <logic:iterate id="statusList" name="SCCBO0310Form" property="statusList" indexId="rowNum">
       <html:hidden name="statusList" property="processStatusCode" indexed="true"/>
       <html:hidden name="statusList" property="processStatus" indexed="true"/>
       <html:hidden name="statusList" property="processType" indexed="true"/>
       <html:hidden name="statusList" property="processStartDate" indexed="true"/>
       <html:hidden name="statusList" property="processEndDate" indexed="true"/>
       <html:hidden name="statusList" property="processComment" indexed="true"/>
       <html:hidden name="statusList" property="count" indexed="true"/>
       <html:hidden name="statusList" property="processNumber" indexed="true"/>
       <html:hidden name="statusList" property="unusedRatingPointDivision" indexed="true"/>
  </logic:iterate>
 </logic:notEmpty>
 <%-- 20110518_M-1032_END--%>
</html:form>

<%--#include virtual="pankuzu/footer.html" --%>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章