| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- <%@ include file="../common/header.jsp"%>
- <%
- if (seq==0){
- seq = (Integer) request.getAttribute("rpgCall_start");
- }
- %>
- <script type="text/javascript" language="javascript">
- <!--
- function page(start, count){
- document.forms.rpgCall.start.value=start;
- document.forms.rpgCall.count.value=count;
- document.forms.rpgCall.action.value="list";
- document.forms.rpgCall.submit();
- doDisable(document.forms.rpgCall, "button");
- }
-
- function doChangePage(count){
- document.forms.rpgCall.start.value= (document.forms.rpgCall.startx.value-1)*20;
- if(document.forms.rpgCall.start.value=="NaN") document.forms.rpgCall.start.value = 0;
- document.forms.rpgCall.count.value=count;
- document.forms.rpgCall.action.value="list";
- document.forms.rpgCall.submit();
- doDisable(document.forms.rpgCall, "button");
- }
- function fillIndex(val){
- document.forms.rpgCall.startx.value = val.value;
- }
-
- function doCreate(){
- document.forms.rpgCall.action.value="new";
- document.forms.rpgCall.submit();
- doDisable(document.forms.rpgCall, "button");
- }
- function doDetail(id){
- document.forms.rpgCall.id.value=id;
- document.forms.rpgCall.action.value="newDetail";
- document.forms.rpgCall.submit();
- }
- function doFilter(){
- document.forms.rpgCall.action.value="list";
- document.forms.rpgCall.submit();
- doDisable(document.forms.rpgCall, "button");
- }
- function doReset(){
- document.forms.rpgCall.rpgCall_id_filter.value="";
- document.forms.rpgCall.rpgCall_cmd_filter.value="";
- document.forms.rpgCall.clear.value="true";
- document.forms.rpgCall.action.value="list";
- document.forms.rpgCall.submit();
- doDisable(document.forms.rpgCall, "button");
- }
- function doOrder(field, type){
- document.forms.rpgCall.rpgCall_fieldOrder.value=field;
- document.forms.rpgCall.rpgCall_orderType.value=type;
- document.forms.rpgCall.action.value="list";
- document.forms.rpgCall.submit();
- doDisable(document.forms.status, "button");
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="rpgCall" method="post" action="rpgCall.do">
- <input type="hidden" name="start" value="">
- <input type="hidden" name="startx" value="">
- <input type="hidden" name="action" value="">
- <input type="hidden" name="count" value="">
- <input type="hidden" name="id" value="">
- <input type="hidden" name="clear" value="">
- <input type="hidden" name="rpgCall_fieldOrder" value="<bean:write name="rpgCall_fieldOrder"/>">
- <input type="hidden" name="rpgCall_orderType" value="<bean:write name="rpgCall_orderType"/>">
- <input type="hidden" name="focus_field" value="">
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titlePage"><bean:message key="project.rpgCall.key"/> - LIST</td>
- </tr>
- <tr>
- <td><%@ include file="../common/paging.jsp"%></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="1" cellpadding="1">
- <tr>
- <td width="5%" class="titleField"><div align="center">#</div></td>
- <td align="left" height="10" valign="top" class="titleField"><bean:message key="rpgCall.id.key" />
- <logic:equal name="rpgCall_fieldOrder" value="id">
- <logic:equal name="rpgCall_orderType" value="ASC">
- <a href="#" onclick="doOrder('id', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="rpgCall_orderType" value="DESC">
- <a href="#" onclick="doOrder('id', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="rpgCall_fieldOrder" value="id">
- <a href="#" onclick="doOrder('id', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- <td align="left" height="10" valign="top" class="titleField"><bean:message key="rpgCall.cmd.key" />
- <logic:equal name="rpgCall_fieldOrder" value="cmd">
- <logic:equal name="rpgCall_orderType" value="ASC">
- <a href="#" onclick="doOrder('cmd', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="rpgCall_orderType" value="DESC">
- <a href="#" onclick="doOrder('cmd', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="rpgCall_fieldOrder" value="cmd">
- <a href="#" onclick="doOrder('cmd', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- <td align="left" height="10" valign="top" class="titleField"><bean:message key="rpgCall.host.key" />
- <logic:equal name="rpgCall_fieldOrder" value="host.id">
- <logic:equal name="rpgCall_orderType" value="ASC">
- <a href="#" onclick="doOrder('host.id', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="rpgCall_orderType" value="DESC">
- <a href="#" onclick="doOrder('host.id', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="rpgCall_fieldOrder" value="host.id">
- <a href="#" onclick="doOrder('host.id', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- <td align="left" height="10" valign="top" class="titleField"><bean:message key="rpgCall.timeout.key" />
- <logic:equal name="rpgCall_fieldOrder" value="timeout">
- <logic:equal name="rpgCall_orderType" value="ASC">
- <a href="#" onclick="doOrder('timeout', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="rpgCall_orderType" value="DESC">
- <a href="#" onclick="doOrder('timeout', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="rpgCall_fieldOrder" value="timeout">
- <a href="#" onclick="doOrder('timeout', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- <td width="5%" class="titleField"> </td>
- </tr>
- <logic:notEmpty name="rpgCallList">
- <logic:iterate id="element" name="rpgCallList" scope="request" indexId="index">
- <%
- sequence++;
- String bgcolor = "FFFFFF";
- if(sequence%2 == 0){
- bgcolor = "EDEDE8";
- }
- %>
- <tr bgcolor="<% out.print(bgcolor); %>" onmouseover="mOvr(this);" onmouseout="mOut(this, '<% out.print(bgcolor); %>');">
- <td align="center" class="celBorder"><%=++seq%> </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="id"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="cmd"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="host.id"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="timeout"/>
- </td>
- <td align="center" class="celBorder" ><a href="#" ><img src="./images/detail.gif" border="0" onclick="doDetail('<bean:write name="element" property="id"/>');" alt="see detail"></a>
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- <tr>
- <td valign="top"> </td>
- <td valign="top"> </td>
- <td valign="top"> </td>
- <td valign="top"> </td>
- <td valign="top"> </td>
- <td valign="top">
- <%/*<div align="center">
- <input type="button" size="50" maxlength="25" value="<bean:message key="button.create"/>" onclick="doCreate();">
- </div>*/%>
- </td>
- </tr>
- </table>
-
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="search"><bean:message key="project.search.key" /></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td width="20%"><b><bean:message key="rpgCall.id.key"/></b></td>
- <td width="1%">:</td>
- <td width="29%">
- <label>
- <input type="text" name="rpgCall_id_filter" value="<logic:notEmpty name="rpgCall_id_filter"><bean:write name="rpgCall_id_filter"/></logic:notEmpty>">
- </label>
- </td>
- </tr>
- <tr>
- <td width="20%"><b><bean:message key="rpgCall.cmd.key"/></b></td>
- <td width="1%">:</td>
- <td width="29%">
- <label>
- <input type="text" name="rpgCall_cmd_filter" value="<logic:notEmpty name="rpgCall_cmd_filter"><bean:write name="rpgCall_cmd_filter"/></logic:notEmpty>">
- </label>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td colspan="3" align="left">
- <input type="button" size="50" maxlength="25" value="<bean:message key="button.reset"/>" onclick="doReset();">
-
- <input type="button" value="<bean:message key="button.search"/>" onclick="doFilter();">
- </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </form>
- <!-- END CONTENT -->
- <logic:notEmpty name="focus"><bean:write name="focus" filter="false" /></logic:notEmpty>
- <%@ include file="../common/footer.jsp"%>
-
|