First Commit - Source Code from Reply
This commit is contained in:
158
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsXMLFileConf.jsp
Normal file
158
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsXMLFileConf.jsp
Normal file
@@ -0,0 +1,158 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.IntervalloAttivazione"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants"%>
|
||||
<%@page import = "java.util.*"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.am.FileInfoAck" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
|
||||
|
||||
function controllaMinMax(min,max)
|
||||
{
|
||||
var minimo=parseInt(min.value,10);
|
||||
var massimo=parseInt(max.value,10);
|
||||
|
||||
if (minimo > massimo)
|
||||
{
|
||||
alert('Attenzione: Il nro minimo di richieste maggiore del numero massimo');
|
||||
min.value='0'
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
|
||||
<form method="post" action="XMLCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<INPUT type="hidden" name="<%= ApplicationManagerCostants.CAMPO_ELEMENT_CHECKED %>" value="">
|
||||
<BODY >
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/BannerApplicationManager.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="center">
|
||||
<center>
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td><b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">
|
||||
<%= (String)Resources.getDay()%></font></P></i></b>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">CONFIGURAZIONE GESTIONE XML </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<table width="90%" align="center" border="1" bordercolor="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "center" width="85%" bgcolor="#CCCCCC" colspan="3" height="21">
|
||||
<p align="center"><font color="#000080" size="4"><b><i>Schedulazione</i></b></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "center" valign = "center" width="14%" bgcolor="#CCCCCC" height="21">
|
||||
<b><font size="2" color="#000080">Inizio</font></b>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="14%" bgcolor="#CCCCCC" height="21">
|
||||
<b><font size="2" color="#000080">Fine</font></b>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="14%" bgcolor="#CCCCCC" height="21">
|
||||
<b><font size="2" color="#000080">Azione</font></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<% String colore= new String();
|
||||
|
||||
ArrayList r = null;
|
||||
r = resultBean.getListaSchedulazione();
|
||||
for(int i=0; i<r.size();i++)
|
||||
|
||||
{
|
||||
IntervalloAttivazione ia = (IntervalloAttivazione) r.get(i);
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td align = "center" valign = "center" width="14%" height="21">
|
||||
<font size="1"><%= ia.getOraFrom()%></font>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="14%" height="21">
|
||||
<font size="1"><%= ia.getOraTo()%></font>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="14%" height="21">
|
||||
<TABLE nowrap width="80%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= ApplicationManagerCostants.FNC_MODIFICA_SCHEDULAZIONE_XML %>,'<%= i %>','n')"> Modifica</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</center>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<center>
|
||||
<TABLE nowrap width="25%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="30%" class="hmenu">
|
||||
<p align="center"><A title="Torna alla pagina di Lista File XML di questa schedulazione" class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= ApplicationManagerCostants.FNC_BACK_CONFIGURAZIONE_XML %>)"> Torna
|
||||
alla Lista File XML</A></p>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user