157 lines
4.0 KiB
Plaintext
157 lines
4.0 KiB
Plaintext
<%@page import = "mnp.crontab.objects.ui.TipoProcesso"%>
|
|
<%@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.FileInfo" />
|
|
<jsp:useBean id="resultName" scope="request" class="java.lang.String" />
|
|
|
|
<% 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 IN USCITA </font></P></i></b>
|
|
</td>
|
|
</tr>
|
|
<tr >
|
|
<td align = "right" valign = "top" width="85%" colspan="5">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<table width="65%" align="center" border="1" bordercolor="#000080">
|
|
<tr >
|
|
<td align = "left" valign = "center" width="85%" bgcolor="#000080" colspan="2" height="21">
|
|
<p align="left"><b><i><font color="#FFFFFF" size="4">Priorità Processi del File
|
|
: <%= resultName %></font></i></b></p>
|
|
</td>
|
|
</tr>
|
|
|
|
<center>
|
|
<tr >
|
|
<td align = "left" valign = "center" width="85%" bgcolor="#FFFFCC" colspan="2" height="21">
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr >
|
|
<td align = "center" valign = "center" width="14%" bgcolor="#CCCCCC" height="21">
|
|
<b><font size="2" color="#000080">Processo</font></b>
|
|
</td>
|
|
<td align = "center" valign = "center" width="14%" bgcolor="#CCCCCC" height="21">
|
|
<b><font size="2" color="#000080">Priorità</font></b>
|
|
</td>
|
|
</tr>
|
|
|
|
<% String colore= new String();
|
|
|
|
ArrayList r = null;
|
|
r = resultBean.getListaPriorita();
|
|
for(int i=0; i<r.size();i++)
|
|
|
|
{
|
|
TipoProcesso tp = (TipoProcesso) r.get(i);
|
|
if (i%2 == 0) colore="white";
|
|
else
|
|
colore="#99CCFF";
|
|
|
|
%>
|
|
|
|
<tr bgcolor=<%= colore%> >
|
|
<td align = "center" valign = "center" width="14%" height="21">
|
|
<B><font size="2"><%= tp.getNomeProcesso()%></font></B>
|
|
</td>
|
|
<td align = "center" valign = "center" width="14%" height="21">
|
|
<font size="2"><Select name="<%= tp.getCodiceProcesso()%>"><%= tp.comboPriorita(tp.getCodicePriorita())%></select></font>
|
|
</td>
|
|
</tr>
|
|
|
|
<% } %>
|
|
|
|
</center>
|
|
</table>
|
|
|
|
|
|
</div>
|
|
<br>
|
|
<br>
|
|
<center>
|
|
<TABLE nowrap width="30%">
|
|
<TBODY>
|
|
<TR >
|
|
<TD height="17" nowrap align="center" width="20%" class="hmenu">
|
|
<p align="center"><A title="Aggiorna le priorità" class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= ApplicationManagerCostants.CMD_AGGIORNA_PRIORITA_XML %>)"> Aggiorna Dati</A></p>
|
|
</TD>
|
|
</TR>
|
|
</TBODY>
|
|
</TABLE>
|
|
</center>
|
|
|
|
</table>
|
|
<!-- tabella x menu -->
|
|
|
|
</BODY>
|
|
</form>
|
|
</HTML>
|