First Commit - Source Code from Reply
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.*" %>
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
} %>
|
||||
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table width = "160" bgcolor = "#D61414" height="100%">
|
||||
<TR>
|
||||
<TD align = "center"><IMG SRC ="<%=Res.ApplContext%>/images/LogoMnp.gif"></TD>
|
||||
</TR>
|
||||
|
||||
<TR><TD> </TD></TR>
|
||||
|
||||
<TR><TD nowrap align= "center"><FONT class = "bannerVertTitolo">MNP</FONT></TD></TR>
|
||||
<TR><TD nowrap align= "center"><font class="bannerVertTitolo">APPLICATION
|
||||
MANAGER</font></TD></TR>
|
||||
<TR><TD nowrap align= "center"><FONT class = "bannerVertTitolo"></FONT></TD></TR>
|
||||
<TR><TD nowrap align= "center"><HR class = "riga"></TD></TR>
|
||||
|
||||
<!-- Casetta Home back e forward -->
|
||||
<TR><TD width = "100%" bgcolor = "#D61414" align = "center">
|
||||
<a href ='javascript:history.back()'>
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/back.gif"></a>
|
||||
<a href = "javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_APPLICATION_MANAGER %>,'Index.do')">
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/casetta.gif"></a>
|
||||
<a href ='javascript:history.forward()'>
|
||||
<IMG border = 0 SRC ="<%=Res.ApplContext%>/images/forward.gif"></a>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD><p align="center"><font color="#FFFF00" >SISTEMI INTERNI</font></p></TD></TR>
|
||||
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= ApplicationManagerCostants.FNC_CONFIGURAZIONE_SISTEMI_INTERNI %>,'SistemiCommand.do' )" class = "linkBanner">>
|
||||
CONFIGURAZIONE</A></TD></tr>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD><p align="center"><font color="#FFFF00" >SISTEMA XML</font></p></TD></TR>
|
||||
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= ApplicationManagerCostants.FNC_CONFIGURAZIONE_XML %>,'XMLCommand.do' )" class = "linkBanner">>
|
||||
CONFIGURAZIONE</A></TD></tr>
|
||||
<TR><td> </td></TR>
|
||||
<TR><td height="50"> </td></TR>
|
||||
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= ApplicationManagerCostants.FNC_LOGOUT_APPLICATION %>,'SistemiCommand.do')" class = "linkBanner">> GUI - MNP</A></TD></tr>
|
||||
<TR><td height="50"> </td></TR>
|
||||
<TR><td height="100"> </td></TR>
|
||||
<TR><td> </td></TR>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
85
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/BannerInterfacce.jsp
Normal file
85
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/BannerInterfacce.jsp
Normal file
@@ -0,0 +1,85 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.*, mnp.crontab.utility.ui.Res, mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.*" %>
|
||||
<%
|
||||
//20051118cg modifica SSN
|
||||
LoginBean aLogin =(LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
if (session.isNew() && aLogin == null) {
|
||||
session.invalidate();
|
||||
%>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
<script language = "Javascript">
|
||||
|
||||
/*Eseguo una submit per accedere all'interfaccia di MNP*/
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table width = "160" bgcolor = "#D61414" height="100%">
|
||||
<TR>
|
||||
<TD align = "center"><IMG SRC ="<%=Res.ApplContext%>/images/LogoMnp.gif"></TD>
|
||||
</TR>
|
||||
|
||||
<TR><TD> </TD></TR>
|
||||
|
||||
<TR><TD nowrap align= "center"><FONT class = "bannerVertTitolo">MNP</FONT></TD></TR>
|
||||
<TR><TD nowrap align= "center"><font class="bannerVertTitolo">INTERFACCE GRAFICHE</font></TD></TR>
|
||||
<TR><TD nowrap align= "center"><FONT class = "bannerVertTitolo"></FONT></TD></TR>
|
||||
<TR><TD nowrap align= "center"><HR class = "riga"></TD></TR>
|
||||
|
||||
|
||||
<%
|
||||
//20051019 cg patch per i profili DBCGO
|
||||
//in attesa di una gestione delle funzionalità
|
||||
if (!("GG".equals(aLogin.getCodiceProfilo())||"GV".equals(aLogin.getCodiceProfilo())||"GD".equals(aLogin.getCodiceProfilo()))){
|
||||
%>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= AmministrazioneCostants.FNC_CRONTAB %>,'InterfacceCommand.do' )" class = "linkBanner">>CRONTAB</A></TD></tr>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= AmministrazioneCostants.FNC_APPLICATION_MANAGER %>,'InterfacceCommand.do' )" class = "linkBanner">>APPLICATION MANAGER</A></TD></tr>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><TD><A HREF = "javascript:loginToMNP(document.formLoginToMNP)" class = "linkBanner">>MNP </A></TD></tr>
|
||||
<TR><TD> </TD></TR>
|
||||
<TR><td> </td></TR>
|
||||
<TR><TD> </TD></tr>
|
||||
<% } %>
|
||||
|
||||
<% //DBCGO LINK
|
||||
FunctionBean[] fbs = aLogin.getFunctionBeans();
|
||||
boolean toDBCGO=false;
|
||||
//se almeno una funzionalità e su DBCGO --> link SSN
|
||||
if (fbs != null) {
|
||||
for (int i = 0; i < fbs.length; i++) {
|
||||
System.out.println("dominio : " + fbs[i].getDominio());
|
||||
if(CrontabCostants.DBCGO_DOMAIN_CODE.equals(fbs[i].getDominio()))
|
||||
toDBCGO = true;
|
||||
}
|
||||
}
|
||||
if (toDBCGO){
|
||||
%>
|
||||
<TR><TD><A HREF = "<%= Resources.getHTTP_LOGIN_DBCGO()%>" class = "linkBanner">>DBCGO </A></TD></tr>
|
||||
<% } %>
|
||||
|
||||
<TR><TD><A HREF ="<%=Resources.getURL_MODIFICA_PWD_PCS()%>" class = "linkBanner" target="_blank">>MODIFICA PASSWORD</A></TD></tr>
|
||||
<TR><TD> </TD></tr>
|
||||
<TR><td> </td></TR>
|
||||
<TR><TD><A HREF = "javascript:buttonActionMenu(document.formCentrale,<%= AmministrazioneCostants.FNC_LOGOUT %>,'InterfacceCommand.do' )" class = "linkBanner">>LOG-OUT</A></TD></tr>
|
||||
<TR><TD> </TD></tr>
|
||||
<TR><td> </td></TR>
|
||||
<TR><td height="200"> </td></TR>
|
||||
<TR><td> </td></TR>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
70
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/EsitoApplication.jsp
Normal file
70
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/EsitoApplication.jsp
Normal file
@@ -0,0 +1,70 @@
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants" %>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" 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%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/BannerApplicationManager.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="center" >
|
||||
|
||||
<table cellpadding="0" cellspacing="0" nowrap width="620" colspan="2">
|
||||
<tbody>
|
||||
<tr height="10"><tr>
|
||||
<tr align = "right" valign = "top" width="85%">
|
||||
<td width="615" height="10" align="right">
|
||||
<b><i><P ><Font size="4" face="Arial" color = "#D61414">MESSAGGIO DI CONFERMA OPERAZIONE</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="615" >
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="59" width="615">
|
||||
<p align="center">
|
||||
<br>
|
||||
<b><i></i></b>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = "center" width = "85%" height="116">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo"><%= request.getAttribute(ApplicationManagerCostants.OBJECT_RESULT_BEAN)%></P></i></b>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
194
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/AttivitaGiornaliera.jsp
Normal file
194
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/AttivitaGiornaliera.jsp
Normal file
@@ -0,0 +1,194 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
<HTML>
|
||||
<head>
|
||||
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<%
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_CRONTAB,ProfileConfig.ATTIVITA_GIORNALIERA);
|
||||
%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ListaTasks" />
|
||||
<jsp:useBean id="CrontabSession" scope="session" class="mnp.crontab.command.CrontabSession" />
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale" >
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<INPUT type="hidden" name="<%= CrontabCostants.CAMPO_ELEMENT_CHECKED %>" value="">
|
||||
<INPUT type="hidden" name="<%= CrontabCostants.CAMPO_ELEMENT_CHECKED_PARAM %>" value="">
|
||||
<BODY onLoad="aggiorna()">
|
||||
<!-- 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/GUI/Banner.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">ATTIVITA' GIORNALIERA</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<% if (resultBean.getListaTaskBean().length == 0)
|
||||
{
|
||||
%>
|
||||
<td align = "left" ><b><i><font color="#D61414">
|
||||
La lista non ha nessun Task da eseguire</font></i></b>
|
||||
</td>
|
||||
<%
|
||||
}
|
||||
else
|
||||
{ %>
|
||||
<td align = "left" ><b><i><font color="#D61414">
|
||||
La lista riporta i prossimi <%= resultBean.getListaTaskBean().length %> Task da eseguire </font></i></b>
|
||||
</td>
|
||||
<% } %>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '100%' border='0'>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="40%" bgcolor="#000080" colspan="3">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF" >Task del giorno</font></P></i></b>
|
||||
</td>
|
||||
|
||||
<td align = "right" valign = "top" width="60%" bgcolor="#000080" colspan="3">
|
||||
<b><i><P class="Titolo"><font color="#FFFFFF"><%= CrontabSession.getStato_Schedulatore()%></font></P></i></b>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' width="14%">
|
||||
<p align="center"><font class = 'normaleTab'>Nome</font></p>
|
||||
</td>
|
||||
|
||||
<td class= 'tdCeleste' align= 'center' width="14%">
|
||||
<p align="center"><font class="normaleTab">Modalità</font>
|
||||
</td>
|
||||
|
||||
<td class= 'tdCeleste' align= 'center' width="14%">
|
||||
<font class="normaleTab">Intervallo</font></td>
|
||||
|
||||
<td class= 'tdCeleste' align= 'center' width="23%">
|
||||
<font class="normaleTab">Processo</font></td>
|
||||
|
||||
<td class= 'tdCeleste' align= 'center' width="20%">
|
||||
<font class="normaleTab">Stato Processo</font></td>
|
||||
|
||||
<td class= 'tdCeleste' align= 'center' width="15%">
|
||||
<font class="normaleTab">Operazione</font></td>
|
||||
|
||||
</tr>
|
||||
<% TaskBean[] r1 = null;
|
||||
r1 = resultBean.getListaTaskBean();
|
||||
for (int i = 0; i < r1.length; i++) {
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center' ><font class = 'normaleTab'><%=r1[i].getNome()%></font></td>
|
||||
|
||||
<td class= 'tdGiallo' align='center' ><font class = 'normaleTab'><%=r1[i].getModalita()%></font></td>
|
||||
|
||||
<td class= 'tdGiallo' align='center' ><font class = 'normaleTab'><%=r1[i].getOraPartenza()%> - <%=r1[i].getOraStop()%></font></td>
|
||||
|
||||
<td class= 'tdGiallo' align='left' ><font class = 'normaleTab'><%=r1[i].getLabelProcessAssociati()%></font></td>
|
||||
|
||||
<td class= 'tdGiallo' align='left' ><font color="#D61414"><%=r1[i].getStato()%></font></td>
|
||||
|
||||
<td class= 'tdGiallo' align='center' >
|
||||
<% if (r1[i].getModalita().equals(CrontabCostants.MODALITA_RUNNING) )
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="60%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonActionWithParam(document.formCentrale,<%= CrontabCostants.CMD_ARRESTA_TASK %>,'<%= r1[i].getId()%>','<%= r1[i].getIdTask()%>','y')"> Arresta </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
|
||||
<% } %>
|
||||
<% if (r1[i].getModalita().equals(CrontabCostants.MODALITA_IN_PARTENZA) )
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="60%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonActionWithParam(document.formCentrale,<%= CrontabCostants.CMD_ARRESTA_TASK %>,'<%= r1[i].getId()%>','<%= r1[i].getIdTask()%>','y')"> Arresta </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<%}%>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center' ><font class = 'normaleTab'>Nome</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' ><font class="normaleTab">Modalità</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' ><font class="normaleTab">Intervallo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' ><font class="normaleTab">Processo</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' ><font class="normaleTab">Stato
|
||||
Uscita</font></td>
|
||||
<td class= 'tdCeleste' align= 'center' ><font class="normaleTab">Operazione</font></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
</center>
|
||||
<center>
|
||||
<% // codice per width della table
|
||||
int w = _prConf.getListFunction().size()*25;%>
|
||||
<TABLE nowrap width="<%= w%>%">
|
||||
<TBODY>
|
||||
<TR width="40">
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.FNC_TASK_EMERGENZA)))
|
||||
{ %>
|
||||
<TD height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.FNC_TASK_EMERGENZA %>,'','n')"> Crea Task
|
||||
Emergenza</A></TD>
|
||||
<% }
|
||||
if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.FNC_LANCIA_TASK_EMERGENZA)))
|
||||
{ %>
|
||||
<TD height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.FNC_LANCIA_TASK_EMERGENZA %>,'','n')"> Lancia Task Emergenza
|
||||
</A></TD>
|
||||
<% } %>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
|
||||
</div>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
195
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Banner.jsp
Normal file
195
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Banner.jsp
Normal file
@@ -0,0 +1,195 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.*" %>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
Boolean statoConfBool = (Boolean) session.getAttribute(CrontabCostants.STATO_CONFIGURAZIONE);
|
||||
boolean statoConf = (statoConfBool == null) || (statoConfBool.booleanValue());
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_CRONTAB,ProfileConfig.BANNER_CRONTAB);
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table width = "160" bgcolor = "#D61414" height="100%">
|
||||
<tr>
|
||||
<td align = "center"><IMG SRC ="<%=Res.ApplContext%>/images/LogoMnp.gif"></TD>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap align= "center"><FONT class = "bannerVertTitolo">MNP</FONT></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap align= "center"><FONT class = "bannerVertTitolo">GESTIONE ATTIVITA'</FONT></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap align= "center"><FONT class = "bannerVertTitolo"></FONT></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td nowrap align= "center"><HR class = "riga"></td>
|
||||
</tr>
|
||||
|
||||
<!-- Casetta Home back e forward -->
|
||||
<tr>
|
||||
<td width = "100%" bgcolor = "#D61414" align = "center">
|
||||
<a href ='javascript:history.back()'>
|
||||
<img border = 0 SRC ="<%=Res.ApplContext%>/images/back.gif"/>
|
||||
</a>
|
||||
<a href = "javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_HOME_PRESENTAZIONE %>,'Index.do')">
|
||||
<img border = 0 SRC ="<%=Res.ApplContext%>/images/casetta.gif"/>
|
||||
</a>
|
||||
<a href ='javascript:history.forward()'>
|
||||
<img border = 0 SRC ="<%=Res.ApplContext%>/images/forward.gif"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href = "javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_ATTIVITA_GIORNALIERE %>,'Index.do')" class = "linkBanner">
|
||||
> ATTIVITA' GIORNALIERA
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_ABILITAZIONE_SCHED))) { %>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:messageAlert(document.formCentrale,<%= CrontabCostants.CMD_ABILITAZIONE_SCHED %>,'Abilitazione del motore ad eseguire attività.','Index.do' )" class = "linkBanner">
|
||||
> ABILITAZIONE
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% } if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_DISABILITAZIONE_SCHED))) { %>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:messageAlert(document.formCentrale,<%= CrontabCostants.CMD_DISABILITAZIONE_SCHED %>,'Disabilitazione del motore (sospensione) ad eseguire attività.','Index.do' )" class = "linkBanner">
|
||||
> DISABILITAZIONE
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% } if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_RESTART_SCHED))) { %>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:messageAlert(document.formCentrale,<%= CrontabCostants.CMD_RESTART_SCHED %>,'Lo schedulatore verrà reinizializzato per ricalcolare la sequenza delle attività da svolgere.','Index.do' )" class = "linkBanner">
|
||||
> RESTART
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href = "javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_LISTA_TASK_SCHEDULATI %>,'Index.do')" class = "linkBanner">
|
||||
> TASK GIORNALIERI
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_GESTIONE_TASK %>,'Index.do')" class = "linkBanner">
|
||||
> GESTIONE TASK
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_GESTIONE_PROCESSI %>,'Index.do')" class = "linkBanner">
|
||||
> GESTIONE PROCESSI
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<% if(!statoConf) { %>
|
||||
<tr>
|
||||
<td>
|
||||
<img src='<%=Res.ApplContext%>/images/esclamativo.gif' border=0 alt="salvare la configurazione se non si vuole perdere le modifiche"/>
|
||||
<a href="javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_CONFIGURAZIONE_XML %>,'Index.do')" class = "linkBanner" alt="salvare la configurazione se non si vuole perdere le modifiche">
|
||||
> CONFIGURAZIONE
|
||||
</a>
|
||||
<img src='<%=Res.ApplContext%>/images/esclamativo.gif' border=0 alt="salvare la configurazione se non si vuole perdere le modifiche"/>
|
||||
</td>
|
||||
</tr>
|
||||
<% } else { %>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_CONFIGURAZIONE_XML %>,'Index.do')" class = "linkBanner">
|
||||
> CONFIGURAZIONE
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% } if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.FNC_GESTIONE_GATEWAY))) { %>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_GESTIONE_GATEWAY %>,'Index.do')" class = "linkBanner">
|
||||
> GESTIONE GATEWAY
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="javascript:buttonActionMenu(document.formCentrale,<%= CrontabCostants.FNC_LOGOUT_CRONTAB %>,'Index.do')" class = "linkBanner">
|
||||
> GUI - MNP
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td height="200"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
169
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Configurazione.jsp
Normal file
169
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Configurazione.jsp
Normal file
@@ -0,0 +1,169 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
<%@page import = "java.io.*"%>
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
function controllo()
|
||||
{
|
||||
document.formCentrale.Ripristina.value=document.formCentrale.nuovoFile.value
|
||||
if (document.formCentrale.nuovoFile.value !='')
|
||||
messageAlert(document.formCentrale,<%= CrontabCostants.CMD_RELOAD_XML %>,'Ripristinare il file XML.','Index.do' )
|
||||
else
|
||||
alert('Errore.Inserire almeno un carattere');
|
||||
|
||||
}
|
||||
</script>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
<%
|
||||
String pathFileCfg = (String)request.getAttribute(CrontabCostants.OBJECT_RESULT_BEAN);
|
||||
String xmlVer = (String)request.getAttribute(CrontabCostants.XML_CONF_VER);
|
||||
String xmlSubVer = (String)request.getAttribute(CrontabCostants.XML_CONF_SUBVER);
|
||||
String xmlName = (String)request.getAttribute(CrontabCostants.XML_CONF_NAME);
|
||||
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_CRONTAB,ProfileConfig.LISTA_CONFIGURAZIONE);
|
||||
%>
|
||||
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<INPUT type="hidden" name="Ripristina" 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/GUI/Banner.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 ver: <%=xmlVer%> subver: <%=xmlSubVer%></font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '664' border='0'>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="636" colspan="3" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Configurazione del file xml: <%=pathFileCfg%></font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align= 'center' width="158">
|
||||
<p> </td>
|
||||
<td align= 'center' width="325"></td>
|
||||
<td align= 'center' width="161"></td>
|
||||
</tr>
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_SAVE_XML)))
|
||||
{ %>
|
||||
<tr>
|
||||
<td align= 'center' bgcolor="#FFFFCC" width="158"><i><b>Salva file </b></i></td>
|
||||
<td align= 'left' colspan="2" width="492" >
|
||||
<TABLE height="17" border="0" width="30%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="50%" class="hmenu"><A class="hmenu" href="javascript:messageAlert(document.formCentrale,<%= CrontabCostants.CMD_SAVE_XML %>,'Salvare il file XML.','Index.do' )"> Salva</A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
<tr>
|
||||
<td align= 'center' width="158" >
|
||||
<p> </td>
|
||||
<td align= 'center' width="325" ></td>
|
||||
<td align= 'center' width="161" ></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align= 'center' bgcolor="#FFFFCC" width="158"><b><i>Ripristina file</i></b></td>
|
||||
<td align= 'center' width="325" >
|
||||
<SELECT name="nuovoFile" >
|
||||
<%
|
||||
File fileDir = new File(pathFileCfg).getParentFile();
|
||||
File[] listFile = fileDir.listFiles(new FileFilter()
|
||||
{
|
||||
public boolean accept(File file)
|
||||
{
|
||||
org.apache.regexp.RE regExp = new org.apache.regexp.RE(Resources.getFormatoFileXML_CONF());
|
||||
//System.out.println("nomeFile: " + file.getName() + " - regExp.match(): " + regExp.match(file.getName()));
|
||||
|
||||
return regExp.match(file.getName());
|
||||
}
|
||||
});
|
||||
for (int i = 0; i < listFile.length; i++) {
|
||||
if(!listFile[i].isDirectory())
|
||||
{
|
||||
%>
|
||||
<OPTION value="<%=listFile[i].getAbsolutePath()%>"> <%=listFile[i].getName()%></OPTION>
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</SELECT>
|
||||
</td>
|
||||
<td align= 'center' width="161" >
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="60%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="50%" class="hmenu"><A class="hmenu" href="javascript:controllo()">Ripristina</A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align= 'center' width="158" >
|
||||
<p> </td>
|
||||
<td align= 'center' width="325" ></td>
|
||||
<td align= 'center' width="161" ></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</center>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
|
||||
</div>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
10
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Empty.jsp
Normal file
10
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Empty.jsp
Normal file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Empty
|
||||
</title>
|
||||
</head>
|
||||
<body bgcolor="#ffffff">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
83
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/ErrorJSP.jsp
Normal file
83
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/ErrorJSP.jsp
Normal file
@@ -0,0 +1,83 @@
|
||||
<%@page isErrorPage="true" %>
|
||||
<%@page import = "java.io.*, java.lang.*, mnp.crontab.objects.*, mnp.crontab.objects.ui.*, mnp.crontab.exception.*,mnp.crontab.utility.ui.Res"%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
ErrorJSP
|
||||
</title>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="java.lang.Exception" />
|
||||
|
||||
<%
|
||||
Exception myEx = new Exception();
|
||||
%>
|
||||
|
||||
</HEAD>
|
||||
<BODY>
|
||||
|
||||
<!-- riga rossa orizzontale -->
|
||||
<table width = "100%">
|
||||
<TR><td width = "100%" bgcolor = "#D61414"> </td><TR>
|
||||
</table>
|
||||
<!-- colonna di menu verticale -->
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td HEIGHT = "100%" width = "10%" bgcolor = "#D61414" valign = "top">
|
||||
<IMG src ="<%=Res.ReqURL%>/images/LogoMnp.gif">
|
||||
</td>
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<!-- td dove scrivere i dati a destra -->
|
||||
|
||||
<!-- titolo a destra -->
|
||||
<BR>
|
||||
<b><i><FONT face = "Arial" color = "#455598" size = 4>ERROR GESTIONE ATTIVITA'</Font></i></b>
|
||||
<!-- tabella dei dati -->
|
||||
<TABLE border = 0 align = "center" width = "100%">
|
||||
<tr>
|
||||
<td width = "90%"><font color = "#455598">
|
||||
|
||||
<%
|
||||
if(resultBean!=null) {
|
||||
|
||||
myEx= resultBean;
|
||||
myEx.printStackTrace();
|
||||
}
|
||||
%>
|
||||
|
||||
Attenzione!<br />
|
||||
Impossibile visualizzare la pagina causa:
|
||||
|
||||
<% if(resultBean.getMessage()!=null){
|
||||
%>
|
||||
|
||||
<h3><b><%=myEx.getMessage()%></b></h3><br>
|
||||
|
||||
<%}
|
||||
else{%>
|
||||
|
||||
<h3><b>Messaggio dell'errore non disponibile!</b></h3><br>
|
||||
|
||||
<%}%>
|
||||
</FONT>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
|
||||
<tr><TD> </TD></tr>
|
||||
<tr><TD> </TD></tr>
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
70
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/EsitoCrontab.jsp
Normal file
70
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/EsitoCrontab.jsp
Normal file
@@ -0,0 +1,70 @@
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" 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%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="center" >
|
||||
|
||||
<table cellpadding="0" cellspacing="0" nowrap width="620" colspan="2">
|
||||
<tbody>
|
||||
<tr height="10"><tr>
|
||||
<tr align = "right" valign = "top" width="85%">
|
||||
<td width="615" height="10" align="right">
|
||||
<b><i><P ><Font size="4" face="Arial" color = "#D61414">MESSAGGIO DI CONFERMA OPERAZIONE</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="615" >
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="59" width="615">
|
||||
<p align="center">
|
||||
<br>
|
||||
<b><i></i></b>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = "center" width = "85%" height="116">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo"><%= request.getAttribute(CrontabCostants.MESSAGGIO_CONFERMA)%></P></i></b>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
183
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/GUIStyle.css
Normal file
183
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/GUIStyle.css
Normal file
@@ -0,0 +1,183 @@
|
||||
TABLE.border {
|
||||
background-color : #C6C4C4;
|
||||
border-color : #C6C4C4;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
TABLE.banner {
|
||||
border-color : #FFFFFF;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
INPUT.readOnly{
|
||||
background : Aqua;
|
||||
}
|
||||
|
||||
|
||||
FONT.bannerVertTitolo{
|
||||
color : #FFFFFF;
|
||||
font: "Arial";
|
||||
font-size: 12;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
BODY.normal {
|
||||
background-color : "#FFFFFF";
|
||||
}
|
||||
|
||||
|
||||
P.titolo{
|
||||
font: "Arial";
|
||||
font-size: 17;
|
||||
color : #455598;
|
||||
font-weight: 700;
|
||||
}
|
||||
FONT.titlePage{
|
||||
font: "Arial";
|
||||
font-size: 17;
|
||||
color : #455598;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
P.titoloBan{
|
||||
font-face: "Arial";
|
||||
font-size: 18;
|
||||
color : #FFFF00;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
P.normale{
|
||||
font-face: "Arial";
|
||||
font-size: 14;
|
||||
color : #2F4E8D;
|
||||
font-weight: 700;
|
||||
}
|
||||
P.alert{
|
||||
font-face: "Arial";
|
||||
font-size: 18;
|
||||
color : #FF0000;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
|
||||
BODY.banner {
|
||||
background-color : #D61414;
|
||||
}
|
||||
|
||||
HR.riga{
|
||||
color :#AD0404;
|
||||
}
|
||||
A.linkBanner{
|
||||
color :"#FFFFFF";
|
||||
font: Arial;
|
||||
font-size: 11;
|
||||
font-weight: 700;
|
||||
}
|
||||
A.linkBanner:hover{
|
||||
color :"#FFFFFF";
|
||||
font-style: italic;
|
||||
font: Arial;
|
||||
font-size: 11;
|
||||
font-weight: 700;
|
||||
|
||||
}
|
||||
|
||||
A.linkPage{
|
||||
color :"#455598";
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
}
|
||||
A.linkPage:hover{
|
||||
color :"#455598";
|
||||
font-style: italic;
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
|
||||
}
|
||||
A.hmenu{
|
||||
color :"#ffffff";
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
A.hmenu_red{
|
||||
color :"#FF6666";
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
A.hmenu_verde{
|
||||
color :"#8CD588";
|
||||
font: Arial;
|
||||
font-size: 14;
|
||||
font-weight: 700;
|
||||
text-decoration: none
|
||||
}
|
||||
|
||||
TD.hmenu{
|
||||
background-color :"#000080";
|
||||
|
||||
}
|
||||
FONT.fontNormale{
|
||||
font: Arial;
|
||||
color: #2F4E8D;
|
||||
font-weight: 700;
|
||||
}
|
||||
FONT.fontAlert{
|
||||
font: Arial;
|
||||
color: Red;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
FONT.fontErrorPage{
|
||||
font: Arial;
|
||||
color: #455598;
|
||||
font-weight: 700;
|
||||
}
|
||||
INPUT.esitoRed{
|
||||
color: Red;
|
||||
font: Arial;
|
||||
}
|
||||
FONT.normaleTab{
|
||||
font-face: "Arial";
|
||||
font-size: 14;
|
||||
color : #2F4E8D;
|
||||
font-weight: 700;
|
||||
}
|
||||
FONT.grassettoTab{
|
||||
font-face: "Arial";
|
||||
font-size: 15;
|
||||
color : #2F4E8D;
|
||||
font-weight: 900;
|
||||
}
|
||||
FONT.biancoTab{
|
||||
font-face: "Arial";
|
||||
font-size: 14;
|
||||
color : white;
|
||||
font-weight: 700;
|
||||
}
|
||||
TD.tdVerde{
|
||||
background-color : #8CD588;
|
||||
}
|
||||
TD.tdCeleste{
|
||||
background-color : #d7effd;
|
||||
}
|
||||
TD.tdGiallo{
|
||||
background-color : #FFFFA8;
|
||||
}
|
||||
TD.tdGrigio{
|
||||
background-color : #C6C4C4;
|
||||
}
|
||||
TD.tdRosso{
|
||||
background-color : #FF5E5E;
|
||||
}
|
||||
TABLE.tableBannerRosso{
|
||||
background-color : #D61414;
|
||||
}
|
||||
129
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/GestioneGateway.jsp
Normal file
129
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/GestioneGateway.jsp
Normal file
@@ -0,0 +1,129 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
|
||||
<%
|
||||
String messaggio = (String) request.getAttribute(CrontabCostants.MESSAGGIO_CONFERMA);
|
||||
%>
|
||||
|
||||
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
|
||||
<form method="post" action="/ManagementServlet" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" 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/GUI/Banner.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">GESTIONE GATEWAY</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '644' border='0'>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="636" colspan="3" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"><%= messaggio%></font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align= 'center' width="40%">
|
||||
<p> </td>
|
||||
<td align= 'center' width="20%"></td>
|
||||
<td align= 'center' width="40%"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align= 'center' >
|
||||
<p> </td>
|
||||
<td align= 'center' ></td>
|
||||
<td align= 'center' ></td>
|
||||
</tr>
|
||||
<% if (messaggio.indexOf(CrontabCostants.GATEWAY_DISABILITATO)!=-1)
|
||||
{ %>
|
||||
<tr>
|
||||
<td align= 'center' bgcolor="#FFFFCC"><i><b>Abilita Gateway</b></i></td>
|
||||
<td align= 'center' ></td>
|
||||
<td align= 'center' >
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="60%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="50%" class="hmenu"><A class="hmenu" href="javascript:messageAlert(document.formCentrale,<%= CrontabCostants.CMD_ABILITA_GATEWAY%>,'Abilitare il Gateway.','Index.do' )"> Abilita</A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<% if (messaggio.indexOf(CrontabCostants.GATEWAY_ABILITATO)!=-1)
|
||||
{ %>
|
||||
<tr>
|
||||
<td align= 'center' bgcolor="#FFFFCC"><i><b>Disabilita Gateway</b></i></td>
|
||||
<td align= 'center' ></td>
|
||||
<td align= 'center' >
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="60%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="50%" class="hmenu"><A class="hmenu" href="javascript:messageAlert(document.formCentrale,<%= CrontabCostants.CMD_DISABILITA_GATEWAY %>,'Disabilitare il Gateway.','Index.do' )">Disabilita</A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
<tr>
|
||||
<td align= 'center' >
|
||||
<p> </td>
|
||||
<td align= 'center' ></td>
|
||||
<td align= 'center' ></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
</center>
|
||||
</div>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
140
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/InserimentoProcesso.jsp
Normal file
140
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/InserimentoProcesso.jsp
Normal file
@@ -0,0 +1,140 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "java.util.*" %>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.ProcessBean" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="ProcessCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<INPUT type="hidden" name="elementoChecked" value="<%= aCrontabSession.getProcessId() %>">
|
||||
<INPUT type="hidden" name="modalita" value="<%= resultBean.getModalita() %>">
|
||||
|
||||
<!-- 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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
|
||||
<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">GESTIONE PROCESSI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%" align="center">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"><%= aCrontabSession.getLabelOperazione()%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<table width="656" border="0" height="408" align="center">
|
||||
<tr>
|
||||
<td colspan="2" height="21" width="606" align="right"><font color="#D61414"><i>campi obbligatori</i></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="25"><b><font color="#D61414">Nome </font></b></td>
|
||||
<td width="457" height="25"> <input type="text" name="Nome" size="60" maxlength="50" value="<%= resultBean.getNome()%>"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="25"><b><font color="#D61414">Descrizione</font></b></td>
|
||||
<td width="457" height="25">
|
||||
|
||||
<p> <input type="text" name="Descrizione" size="60" maxlength="50" value="<%= resultBean.getDescrizione()%>"></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="21" bgcolor="#FFFFCC"><b><font color="#D61414">Comando
|
||||
</font>*</b></td>
|
||||
<td width="457" height="21">
|
||||
|
||||
<p> <input type="text" name="Comando" size="60" maxlength="50" value="<%= resultBean.getComando()%>"></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="21"></td>
|
||||
<td height="21" width="457"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFCC" height="81" width="143"><b><font color="#D61414">Parametri
|
||||
</font>**</b></td>
|
||||
<td height="81" width="457"><p> <textarea rows="7" name="Parametri" cols="50"><%= resultBean.getParametri()%></textarea></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="21"></td>
|
||||
<td width="457" height="21"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="21" colspan="2"><i><b>* i parametri
|
||||
della VM vanno inseriti prima del comando</b></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="21" colspan="2"><i><b>** i parametri
|
||||
del processo vanno separati da spazio vuoto</b></i></td>
|
||||
</tr>
|
||||
<td width="80%" height="21" colspan="2">
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<TABLE nowrap width="60%" align="center">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkAllFieldProcesso(document.formCentrale,<%= aCrontabSession.getCmdOperazione() %>)"> Conferma</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:resetAllFieldProcesso(document.formCentrale)"> Reset </A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:OpenPopUp('<%=CrontabCostants.OPEN_POPUP_PROCESSI_BLOCCANTI%>')"> Processi Bloccanti</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
</BODY>
|
||||
</form>
|
||||
131
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/InserimentoTask.jsp
Normal file
131
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/InserimentoTask.jsp
Normal file
@@ -0,0 +1,131 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.TaskBean" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<INPUT type="hidden" name="modalita" value="<%= resultBean.getModalita() %>">
|
||||
<BODY>
|
||||
<INPUT type="hidden" name="elementoChecked" value="<%= aCrontabSession.getTaskId() %>">
|
||||
<!-- 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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="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">GESTIONE TASKS</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"><%= aCrontabSession.getLabelOperazione()%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<table width="656" border="0" height="408" >
|
||||
<tr>
|
||||
<td colspan="4" height="21" width="606" align="right"><font color="#D61414"><i>campi obbligatori</i></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="25"><b><font color="#D61414">Nome </font></b></td>
|
||||
<td width="457" height="25" colspan="3"> <input type="text" name="Nome" size="60" maxlength="50" value="<%= resultBean.getNome()%>"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="25"><b><font color="#D61414">Descrizione</font></b></td>
|
||||
<td width="457" height="25" colspan="3">
|
||||
|
||||
<p> <input type="text" name="Descrizione" size="60" maxlength="50" value="<%= resultBean.getDescrizione()%>"></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="21"></td>
|
||||
<td width="457" height="21" colspan="3">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="21"></td>
|
||||
<td colspan="3" height="21" width="457"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFCC" height="81" width="143"><b>Note</b></td>
|
||||
<td height="81" width="457" colspan="3"><textarea rows="7" name="Note" cols="51"><%= resultBean.getNote()%></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="21"></td>
|
||||
<td width="457" colspan="3" height="21"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="21"></td>
|
||||
<td width="457" colspan="3" height="21"></td>
|
||||
</tr>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="80%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkAllFieldTask(document.formCentrale,<%= aCrontabSession.getCmdOperazione() %>)"> Conferma</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:resetAllFieldTask(document.formCentrale)"> Reset </A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:OpenPopUp('<%= CrontabCostants.OPEN_POPUP_INTERVALLI_ATTIVAZIONE%>')"> Intervalli Attivazione </A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:OpenPopUp('<%= CrontabCostants.OPEN_POPUP_PROCESSI_ASSOCIATI%>')"> Processi Associati</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
</table>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</div>
|
||||
</table>
|
||||
</BODY>
|
||||
</form>
|
||||
@@ -0,0 +1,104 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.TaskBean" />
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<INPUT type="hidden" name="modalita" value="<%= resultBean.getModalita() %>">
|
||||
<BODY>
|
||||
<INPUT type="hidden" name="elementoChecked" value="<%= aCrontabSession.getTaskId() %>">
|
||||
<!-- 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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="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">ATTIVITA' GIORNALIERA</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"><%= aCrontabSession.getLabelOperazione()%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<table width="656" border="0" height="331" >
|
||||
<tr>
|
||||
<td colspan="3" height="41" width="648" align="right">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="642" bgcolor="#FFFFCC" height="44" colspan="3"> <b><i>Task Emergenza</i></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="648" height="176" colspan="3">
|
||||
<p align="center"><b><i><font color="#D61414">Questo task è
|
||||
utilizzato per una emergenza.</font></i></b></p>
|
||||
<p align="center"><b><i><font color="#D61414">Basta
|
||||
associargli i processi.</font></i></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
<center>
|
||||
<TABLE nowrap width="40%">
|
||||
<TBODY>
|
||||
<TR width="90">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= aCrontabSession.getCmdOperazione() %>,'','n')"> Conferma</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:OpenPopUp('<%=CrontabCostants.OPEN_POPUP_PROCESSI_ASSOCIATI%>')"> Processi
|
||||
Associati</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</div>
|
||||
</table>
|
||||
</BODY>
|
||||
</form>
|
||||
|
||||
@@ -0,0 +1,189 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_CRONTAB,ProfileConfig.LISTA_PROCESSI);
|
||||
int ab=0;
|
||||
int di=0;
|
||||
%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ListaProcessi" />
|
||||
<jsp:useBean id="CrontabSession" scope="session" class="mnp.crontab.command.CrontabSession" />
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="ProcessCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="<%= CrontabCostants.CAMPO_ELEMENT_CHECKED %>" value="">
|
||||
<INPUT type="hidden" name="modalita" value="">
|
||||
<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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "15%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "85%" valign="top">
|
||||
<DIV align="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">GESTIONE PROCESSI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="4" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">LISTA PROCESSI DISPONIBILI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="4">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="5%" align="center"><b>Sel.</b></td>
|
||||
<td width="15%" align="center"><b>Nome Processo</b></td>
|
||||
<td width="10%" align="center"><b>Modalità</b></td>
|
||||
<td width="40%" align="center"><b>Operazione</b></td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
ProcessBean[] r = null;
|
||||
r = resultBean.getListaProcessi();
|
||||
for(int i=0; i<r.length;i++)
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td ><p align="center"><input type="radio" name="elementiLista" value="<%= r[i].getProcessId()%>"></p></td>
|
||||
<td ><a href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.FNC_DETTAGLIO_PROCESSO %>,'<%= r[i].getProcessId() %>','n')"><%= r[i].getNome()%></a></td>
|
||||
<td ><p align="center"><b><%= r[i].getModalita()%></b></p></td>
|
||||
<INPUT type="hidden" name="modalitaLista" value="<%= r[i].getStatoProcesso()%>">
|
||||
<TD>
|
||||
<% if (r[i].getModalita().equals(CrontabCostants.MODALITA_RUNNING))
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="30%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.CMD_ARRESTA_PROCESSO %>,<%= r[i].getProcessId()%>,'y')"> Arresta </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
<% } %>
|
||||
<%
|
||||
if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_ABILITA_PROCESSO)))
|
||||
{
|
||||
ab=1;
|
||||
if (r[i].getModalita().equals(CrontabCostants.STATO_PROCESSO_DISABILITATO))
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="30%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.CMD_ABILITA_PROCESSO %>,'<%= r[i].getProcessId()%>','y')"> Abilita </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
<% }
|
||||
}
|
||||
if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_DISABILITA_TASK)))
|
||||
{ di=1;
|
||||
if (r[i].getModalita().equals(CrontabCostants.STATO_PROCESSO_ABILITATO))
|
||||
{
|
||||
%>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="30%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.CMD_DISABILITA_PROCESSO %>,'<%= r[i].getProcessId()%>','y')"> Disabilita </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
<%}
|
||||
}%>
|
||||
</TD>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="5%" align="center"><b>Sel.</b></td>
|
||||
<td width="15%" align="center"><b>Nome Processo</b></td>
|
||||
<td width="10%" align="center"><b>Modalità</b></td>
|
||||
<td width="40%" align="center"><b>Operazione</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<% // codice per width della table
|
||||
int w = _prConf.getListFunction().size();
|
||||
w = w-ab-di;
|
||||
w = w*20;%>
|
||||
<TABLE nowrap width="<%= w%>%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.FNC_NUOVO_PROCESSO)))
|
||||
{%>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.FNC_NUOVO_PROCESSO %>,'','n')"> Nuovo</A></TD>
|
||||
<% }
|
||||
if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.FNC_MODIFICA_PROCESSO)))
|
||||
{%>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkLista(document.formCentrale,<%= CrontabCostants.FNC_MODIFICA_PROCESSO %>,'Selezionare un Processo.','n')"> Modifica </A></TD>
|
||||
<% }
|
||||
if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_ELIMINA_PROCESSO)))
|
||||
{%>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkAllRadioElimina(document.formCentrale,'<%= CrontabCostants.CMD_ELIMINA_PROCESSO %>')"> Elimina </A></TD>
|
||||
<% }%>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
122
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/ListaTaskASEmergenza.jsp
Normal file
122
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/ListaTaskASEmergenza.jsp
Normal file
@@ -0,0 +1,122 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ListaTasks" />
|
||||
<jsp:useBean id="CrontabSession" scope="session" class="mnp.crontab.command.CrontabSession" />
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="<%= CrontabCostants.CAMPO_ELEMENT_CHECKED %>" value="">
|
||||
<INPUT type="hidden" name="modalita" value="0">
|
||||
<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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "15%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "85%" valign="top">
|
||||
<DIV align="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">TASK EMERGENZA</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="60%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="2" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">LISTA TASK </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="5%" align="center"><b>Sel.</b></td>
|
||||
<td width="15%" align="center"><b>Nome Task</b></td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
TaskBean[] r = null;
|
||||
r = resultBean.getListaTaskBean();
|
||||
for(int i=0; i<r.length;i++)
|
||||
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td ><p align="center"><input type="radio" name="elementiLista" value="<%= r[i].getIdTask()%>"></p></td>
|
||||
<td ><b><%= r[i].getNome() %></b></td>
|
||||
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="5%" align="center"><b>Sel.</b></td>
|
||||
<td width="15%" align="center"><b>Nome Task</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="20%">
|
||||
<TBODY>
|
||||
<TR width="40">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:javascript:checkLista(document.formCentrale,<%= CrontabCostants.CMD_LANCIA_TASK_EMERGENZA %>,'Selezionare un Task.','n')"> Conferma</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
205
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/ListaTaskSchedulati.jsp
Normal file
205
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/ListaTaskSchedulati.jsp
Normal file
@@ -0,0 +1,205 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "java.util.*" %>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ListaTasks" />
|
||||
<jsp:useBean id="resultBeanIntervallo" scope="request" class="mnp.crontab.objects.ui.IntervalloAttivazione" />
|
||||
<jsp:useBean id="CrontabSession" scope="session" class="mnp.crontab.command.CrontabSession" />
|
||||
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
String ora =resultBeanIntervallo.getOraFrom();
|
||||
String oraTo =resultBeanIntervallo.getOraTo();
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
|
||||
function controllaFasciaOraria(form,action)
|
||||
{
|
||||
oraFrom=form.oraFrom
|
||||
oraTo=form.oraTo
|
||||
|
||||
|
||||
var ora1=parseInt(oraFrom.value,10);
|
||||
var ora2=parseInt(oraTo.value,10);
|
||||
|
||||
if (ora1 >= ora2)
|
||||
{
|
||||
alert('Attenzione: Controllare Intervallo Orario!');
|
||||
oraTo.value='00'
|
||||
return
|
||||
}
|
||||
buttonActionPassaggio(form,action)
|
||||
}
|
||||
</script>
|
||||
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="Index.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="<%= CrontabCostants.CAMPO_ELEMENT_CHECKED %>" value="">
|
||||
<INPUT type="hidden" name="modalita" value="0">
|
||||
<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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "15%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "85%" valign="top">
|
||||
<DIV align="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"> TASK SCHEDULATI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = '50%' border='0' bordercolorlight="#000080" bordercolordark="#000080" height="219">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080" colspan="2" height="19">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Criteri di Ricerca </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="2" bgcolor="#CCCCCC" height="22">
|
||||
<p align="center"><font color="#000080" size="4"><b><i>Arco Temporale</i></b></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "center" width="43%" bgcolor="#FFFFCC" height="23">
|
||||
<b><font color="#D61414">Ora Inizio</font></b>
|
||||
</td>
|
||||
<td align = "left" valign = "center" width="42%" height="23">
|
||||
<p><SELECT name="oraFrom" >
|
||||
<% for(int i=0; i<24;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (ora.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (ora.equals(String.valueOf(i))) {%> selected <% }%> ><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT></tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "center" width="28%" bgcolor="#FFFFCC" height="23">
|
||||
<b><font color="#D61414">Ora Fine</font></b>
|
||||
</td>
|
||||
<td align = "left" valign = "center" width="57%" height="23">
|
||||
<p><SELECT name="oraTo" >
|
||||
<% for(int i=0; i<25;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (oraTo.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (oraTo.equals(String.valueOf(i))) {%> selected <% }%> ><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT></td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "center" width="85%" height="19" colspan="2" bgcolor="#CCCCCC">
|
||||
<center>
|
||||
<TABLE nowrap width="30%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:controllaFasciaOraria(document.formCentrale,<%= CrontabCostants.CMD_LISTA_TASK_SCHEDULATI %>)"> Ricerca</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table border="0" width="60%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="3" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Task Giornalieri</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#CCCCCC">
|
||||
|
||||
<td width="15%" align="center"><b>Nome Task</b></td>
|
||||
|
||||
<td width="20%" align="center"><b>Processi</b></td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
TaskBean[] r = null;
|
||||
r = resultBean.getListaTaskBean();
|
||||
for(int i=0; i<r.length;i++)
|
||||
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
|
||||
<td ><%= r[i].getNome() %></td>
|
||||
|
||||
<td ><%= r[i].getLabelProcessAssociati()%></td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
|
||||
<td width="15%" align="center"><b>Nome Task</b></td>
|
||||
|
||||
<td width="20%" align="center"><b>Processi</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
@@ -0,0 +1,188 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_CRONTAB,ProfileConfig.LISTA_TASK);
|
||||
int ab=0;
|
||||
int di=0;
|
||||
%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ListaTasks" />
|
||||
<jsp:useBean id="CrontabSession" scope="session" class="mnp.crontab.command.CrontabSession" />
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="<%= CrontabCostants.CAMPO_ELEMENT_CHECKED %>" value="">
|
||||
<INPUT type="hidden" name="modalita" value="0">
|
||||
<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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "15%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "85%" valign="top">
|
||||
<DIV align="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">GESTIONE TASK</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">LISTA TASK DISPONIBILI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="6">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="5%" align="center"><b>Sel.</b></td>
|
||||
<td width="15%" align="center"><b>Nome Task</b></td>
|
||||
<td width="10%" align="center"><b>Modalità</b></td>
|
||||
|
||||
<td width="20%" align="center"><b>Processi</b></td>
|
||||
<td width="40%" align="center"><b>Operazione</b></td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
TaskBean[] r = null;
|
||||
r = resultBean.getListaTaskBean();
|
||||
for(int i=0; i<r.length;i++)
|
||||
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td ><p align="center"><input type="radio" name="elementiLista" value="<%= r[i].getIdTask()%>"></p></td>
|
||||
<td ><a href="javascript:buttonActionTask(document.formCentrale,<%= CrontabCostants.FNC_DETTAGLIO_TASK %>,'<%= r[i].getIdTask() %>','<%= r[i].getModalita()%>')"><%= r[i].getNome() %></a></td>
|
||||
<td ><b><%= r[i].getModalita()%></b></td>
|
||||
|
||||
<td ><%= r[i].getLabelProcessAssociati()%></td>
|
||||
<INPUT type="hidden" name="modalitaLista" value="<%= r[i].getModalita()%>">
|
||||
<TD>
|
||||
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_ABILITA_TASK)))
|
||||
{
|
||||
ab=1;
|
||||
if (r[i].getModalita().equals(CrontabCostants.MODALITA_DISABLED))
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="30%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.CMD_ABILITA_TASK %>,'<%= r[i].getIdTask()%>','y')"> Abilita </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
<% }
|
||||
} %>
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_DISABILITA_TASK)))
|
||||
{ di=1;
|
||||
if (r[i].getModalita().equals(CrontabCostants.MODALITA_ABLE))
|
||||
{
|
||||
%>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="30%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="25%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.CMD_DISABILITA_TASK %>,'<%= r[i].getIdTask()%>','y')"> Disabilita </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
<% }
|
||||
} %>
|
||||
</TD>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="5%" align="center"><b>Sel.</b></td>
|
||||
<td width="15%" align="center"><b>Nome Task</b></td>
|
||||
<td width="10%" align="center"><b>Modalità</b></td>
|
||||
|
||||
<td width="20%" align="center"><b>Processi</b></td>
|
||||
<td width="40%" align="center"><b>Operazione</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<% // codice per width della table
|
||||
int w = _prConf.getListFunction().size();
|
||||
w = w-ab-di;
|
||||
w = w*20;%>
|
||||
<TABLE nowrap width="<%= w%>%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.FNC_NUOVO_TASK)))
|
||||
{%>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.FNC_NUOVO_TASK %>,'','n')"> Nuovo</A></TD>
|
||||
<% }
|
||||
if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.FNC_MODIFICA_TASK)))
|
||||
{%>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkLista(document.formCentrale,<%= CrontabCostants.FNC_MODIFICA_TASK %>,'Selezionare un Task.','n')"> Modifica </A></TD>
|
||||
<% }
|
||||
if (_prConf.visualizzaFunction(String.valueOf(CrontabCostants.CMD_ELIMINA_TASK)))
|
||||
{%>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkAllRadioElimina(document.formCentrale,'<%= CrontabCostants.CMD_ELIMINA_TASK %>')"> Elimina </A></TD>
|
||||
<% }%>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
191
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/LoginCrontab.jsp
Normal file
191
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/LoginCrontab.jsp
Normal file
@@ -0,0 +1,191 @@
|
||||
<%@page import = "java.util.*" %>
|
||||
<%@page import = "mnp.crontab.utility.ui.Res" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>Pagina di verifica delle impostazioni di sicurezza</title>
|
||||
|
||||
|
||||
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="GUIStyle.css" >
|
||||
<SCRIPT language="Javascript">
|
||||
|
||||
function inviaDatiClient() {
|
||||
|
||||
var usernameclient;
|
||||
var locator;
|
||||
var service;
|
||||
var properties;
|
||||
var e;
|
||||
var p;
|
||||
var ip;
|
||||
var hn;
|
||||
|
||||
|
||||
|
||||
try {
|
||||
|
||||
usernameclient = new ActiveXObject("WScript.Network").UserName;
|
||||
locator = new ActiveXObject ("WbemScripting.SWbemLocator");
|
||||
service = locator.ConnectServer(".");
|
||||
properties = service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
|
||||
e = new Enumerator (properties);
|
||||
|
||||
for (;!e.atEnd();e.moveNext ()) {
|
||||
p = e.item ();
|
||||
|
||||
if (p.IPAddress!=null ) {
|
||||
document.forms["loginForm"].elements["hostnameclient"].value = p.DNSHostName;
|
||||
document.forms["loginForm"].elements["ipclient"].value = p.IPAddress(0);
|
||||
}
|
||||
}
|
||||
document.forms["loginForm"].elements["utenzaclient"].value = usernameclient;
|
||||
|
||||
}
|
||||
catch(e){
|
||||
|
||||
alert("Impossibile recuperare gli ActiveX del client: " + e.message);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
document.forms["loginForm"].elements["info_client"].value="YES";
|
||||
|
||||
document.forms["loginForm"].submit();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
function doSubmit(){
|
||||
|
||||
|
||||
document.forms["loginForm"].submit();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</SCRIPT>
|
||||
|
||||
<%
|
||||
System.out.println("Sono dentro la LoginCrontab.jsp");
|
||||
%>
|
||||
</head>
|
||||
|
||||
|
||||
<BODY class = "normal">
|
||||
|
||||
|
||||
|
||||
<%
|
||||
|
||||
Res.ApplContext = request.getContextPath();
|
||||
Res.ReqURL = "https://" + request.getServerName()+":"+
|
||||
request.getServerPort()+
|
||||
request.getContextPath();
|
||||
//Res.ResAbsPath = pageContext.getServletContext().getInitParameter("applPath");
|
||||
//if(true) throw new Exception("pippo");
|
||||
System.out.println("Res.ApplContext :"+Res.ApplContext);
|
||||
System.out.println("Res.ReqURL : "+Res.ReqURL);
|
||||
// System.out.println("Res.ResAbsPath : "+Res.ResAbsPath);
|
||||
|
||||
// if(request.getParameter("Send")!=null) {
|
||||
//System.out.println("non faccio nulla....");
|
||||
|
||||
|
||||
|
||||
//}%>
|
||||
|
||||
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ReqURL%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td HEIGHT = "100%" width = "10%" bgcolor = "#D61414" valign = "top">
|
||||
|
||||
</td>
|
||||
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<BR>
|
||||
<i><b><FONT face = "Arial" color = "#455598" size = 4 weight = "700">MNP-GUI</Font></b></i>
|
||||
<form name="loginForm" method="post" action="<%=Res.ReqURL%>/Login.do" target="_self">
|
||||
<INPUT type="hidden" name="ipclient">
|
||||
<INPUT type="hidden" name="hostnameclient">
|
||||
<INPUT type="hidden" name="utenzaclient">
|
||||
<INPUT type="hidden" name="info_client">
|
||||
|
||||
<!--
|
||||
<TABLE border = 0 align = "center" width = "100%">
|
||||
<BR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3"><font face="Arial" color="#455598" size="4"><b><u>GESTIONE ATTIVITA' MNP</u></b></font></TD>
|
||||
</TR>
|
||||
<TR><TD colspan = "3" > </TD></TR>
|
||||
<TR><TD colspan = "3" > </TD></TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><FONT face = "Arial" color = "#455598" size = 2><b><u>UserID :</u></b></FONT></TD>
|
||||
</TR>
|
||||
<TD align = "center" colspan = "3" ><input type="text" name="userID" maxlength="16" ></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><FONT face = "Arial" color = "#455598" size = 2><b><u>Password :</u></b></FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><input type="password" name="password" maxlength="16"></TD>
|
||||
</TR>
|
||||
<TR><TD colspan = "3"> </TD></TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><input type="submit" name="Send" value=" Log-In "></TD>
|
||||
</TR>
|
||||
<TR><TD colspan = "3"> </TD></TR>
|
||||
|
||||
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
|
||||
</TABLE>-->
|
||||
<!-- </td></tr></table> -->
|
||||
|
||||
|
||||
</form>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = "center" width = "85%" height="116">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">Verifica delle impostazioni di sicurezza del browser in corso.... <br />
|
||||
Se non si viene reindirizzati entro 10 secondi<a href="javascript: void doSubmit()"> Cliccare qui </a> per andare avanti.</P></i></b>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- <hr class = "riga"> -->
|
||||
<!-- tabella x menu -->
|
||||
|
||||
<script type="text/javascript" language="Javascript">
|
||||
<!--
|
||||
|
||||
inviaDatiClient();
|
||||
-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
36
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Logout.jsp
Normal file
36
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Logout.jsp
Normal file
@@ -0,0 +1,36 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Logout
|
||||
</title>
|
||||
<%@ page import="mnp.crontab.utility.Resources" %>
|
||||
<script type="text/javascript" language="javascript">
|
||||
function logout() {
|
||||
//window.location=self.location;
|
||||
//window.opener = self;
|
||||
window.location.href = '<%=Resources.getURL_LOGOUT_PCS()%>';
|
||||
//window.close();
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body bgcolor="#ffffff" onLoad="logout()">
|
||||
|
||||
<table width = "100%" border = "0">
|
||||
|
||||
|
||||
<tr>
|
||||
<td align = "center" width = "85%" height="116">
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">Logout effettuato con successo <br />
|
||||
Chiudere questa finestra</P></i></b>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,417 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.command.TaskCommand" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.IntervalloAttivazione" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
|
||||
String cmdOperazione =(String) request.getAttribute(CrontabCostants.TIPO_OPERAZIONE);
|
||||
String elementOperazione =(String) request.getAttribute(CrontabCostants.CAMPO_ELEMENT_CHECKED);
|
||||
String ora =resultBean.getHourFrom();
|
||||
String minuti =resultBean.getMinutiFrom();
|
||||
String oraTo =resultBean.getHourTo();
|
||||
String minutiTo =resultBean.getMinutiTo();
|
||||
if (oraTo==null)
|
||||
{
|
||||
oraTo="";
|
||||
minutiTo="";
|
||||
}
|
||||
|
||||
if ((resultBean.getGiornoMese() != null) && (!resultBean.getGiornoMese().equals("0")))
|
||||
{
|
||||
if (resultBean.getGiornoMese().length()==1)
|
||||
resultBean.setGiornoMese("0"+resultBean.getGiornoMese());
|
||||
}
|
||||
|
||||
|
||||
String[] giorni = resultBean.getGiorniSettimana();
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
|
||||
function controllaFasciaOraria(action)
|
||||
{
|
||||
oraFrom=document.formCentrale.oraFrom
|
||||
oraTo=document.formCentrale.oraTo
|
||||
minutiFrom=document.formCentrale.minutiFrom
|
||||
minutiTo=document.formCentrale.minutiTo
|
||||
|
||||
if (oraTo.value !='')
|
||||
{
|
||||
|
||||
var ora1=parseInt(oraFrom.value,10);
|
||||
var ora2=parseInt(oraTo.value,10);
|
||||
|
||||
var minuto1=parseInt(minutiFrom.value,10);
|
||||
var minuto2=parseInt(minutiTo.value,10);
|
||||
|
||||
if (ora1 > ora2)
|
||||
{
|
||||
alert('Attenzione: Controllare Intervallo Orario!');
|
||||
oraTo.value=''
|
||||
minutiTo.value=''
|
||||
return
|
||||
}
|
||||
if (ora2 == ora1)
|
||||
{
|
||||
|
||||
if (minuto1 > minuto2)
|
||||
{
|
||||
alert('Attenzione: Controllare Intervallo Orario!');
|
||||
oraTo.value=''
|
||||
minutiTo.value=''
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
for (var i=0; i < 7; i++)
|
||||
{
|
||||
|
||||
if (document.formCentrale.giorniSettimana[i].checked)
|
||||
return checkAllFieldIntervallo(document.formCentrale,action)
|
||||
}
|
||||
if (document.formCentrale.giornoData.value == '')
|
||||
{
|
||||
alert('Errore.Inserire un giorno della Settimana o un giorno del Mese.')
|
||||
return;
|
||||
}
|
||||
checkAllFieldIntervallo(document.formCentrale,action)
|
||||
|
||||
}
|
||||
/*
|
||||
function resetAllFieldIntervallo(frm)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi da resettare
|
||||
// ArrayCampi = array dei campi che devono essere resettati
|
||||
|
||||
var ncampi=8;
|
||||
var ArrayCampi = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampi[0] = frm.giorno
|
||||
ArrayCampi[1] = frm.giornoData
|
||||
ArrayCampi[2] = frm.oraFrom
|
||||
ArrayCampi[3] = frm.minutoFrom
|
||||
ArrayCampi[4] = frm.giornoStop
|
||||
ArrayCampi[5] = frm.giornoDataStop
|
||||
ArrayCampi[6] = frm.oraTo
|
||||
ArrayCampi[7] = frm.minutoTo
|
||||
|
||||
ResetAllField(ArrayCampi)
|
||||
frm.every.value='0'
|
||||
}
|
||||
|
||||
*/
|
||||
function checkAllFieldIntervallo(frm,action)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi obbligatori da controllare
|
||||
// ArrayCampiObbligatori = array dei campi obbligatori che devono essere controllati
|
||||
// ArrayEtichetteCampiObbligatori = array di etichette dei campi obbligatori
|
||||
|
||||
|
||||
var ncampi=1;
|
||||
var ArrayCampiObbligatori = new Array(ncampi)
|
||||
var ArrayEtichetteCampiObbligatori = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
/*
|
||||
if (frm.giorno.value=='')
|
||||
ArrayCampiObbligatori[0] = frm.giornoData
|
||||
else
|
||||
ArrayCampiObbligatori[0] = frm.giorno
|
||||
|
||||
|
||||
ArrayEtichetteCampiObbligatori[0]= 'Giorno di Partenza'
|
||||
*/
|
||||
ArrayCampiObbligatori[0] = frm.oraFrom
|
||||
ArrayEtichetteCampiObbligatori[0]= 'Ora di inizio attivazione'
|
||||
/*
|
||||
if (frm.giornoStop.value=='')
|
||||
ArrayCampiObbligatori[2] = frm.giornoDataStop
|
||||
else
|
||||
ArrayCampiObbligatori[2] = frm.giornoStop
|
||||
|
||||
ArrayEtichetteCampiObbligatori[2]= 'Giorno di Stop'
|
||||
ArrayCampiObbligatori[3] = frm.oraTo
|
||||
ArrayEtichetteCampiObbligatori[3]= 'Ora di fine attivazione'
|
||||
*/
|
||||
if (CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori))
|
||||
{
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
if (frm.every.value=='')
|
||||
frm.every.value='0'
|
||||
if (frm.deadline.value=='')
|
||||
frm.deadline.value='0'
|
||||
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori)
|
||||
{
|
||||
for (var i=0; i < ArrayCampiObbligatori.length; i++)
|
||||
{
|
||||
if (ArrayCampiObbligatori[i].value == "")
|
||||
{
|
||||
alert('Errore.Inserire '+ArrayEtichetteCampiObbligatori[i])
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function ResetAllField(ArrayCampi)
|
||||
{
|
||||
for (var i=0; i < ArrayCampi.length; i++)
|
||||
{
|
||||
ArrayCampi[i].value = ""
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function settaGiorno()
|
||||
{
|
||||
for (var i=0; i < 7; i++)
|
||||
{
|
||||
document.formCentrale.giorniSettimana[i].checked=false;
|
||||
}
|
||||
}
|
||||
function settaMinutiTo()
|
||||
{
|
||||
document.formCentrale.minutiTo.value="00";
|
||||
}
|
||||
|
||||
function settaDataGiorno()
|
||||
{
|
||||
document.formCentrale.giornoData.value="";
|
||||
//document.formCentrale.giornoDataStop.value="";
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
|
||||
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="elementoChecked" value="<%= elementOperazione %>">
|
||||
<table width="524" height="533">
|
||||
<td width = "594" valign="top" height="529">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Intervalli di Attivazione</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="483" border="0" height="60%" >
|
||||
<tr>
|
||||
<td colspan="2" height="21" width="475" align="right"><font color="#D61414"><i>campi obbligatori</i></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="21" width="475" align="right" bgcolor="#FFFFCC" colspan="2">
|
||||
<p align="left"><font color="#D61414"><b>Giorno/i della
|
||||
Settimana</b></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" height="21" width="475" >
|
||||
<TABLE nowrap width="473" >
|
||||
<TBODY>
|
||||
<TR width="100%">
|
||||
<TD height="17" nowrap align="center" width="15%">Lun</TD>
|
||||
<TD height="17" nowrap align="center" width="15%">Mar</TD>
|
||||
<TD height="17" nowrap align="center" width="15%">Mer</TD>
|
||||
<TD height="17" nowrap align="center" width="15%">Gio</TD>
|
||||
<TD height="17" nowrap align="center" width="15%">Ven</TD>
|
||||
<TD height="17" nowrap align="center" width="15%">Sab</TD>
|
||||
<TD height="17" nowrap align="center" width="15%">Dom</TD>
|
||||
|
||||
</TR>
|
||||
|
||||
<TR width="100%">
|
||||
<TD height="17" nowrap align="center" width="15%"><input type="checkbox" onclick="settaDataGiorno()" name="giorniSettimana" value="Lun" <% if (resultBean.getSelected(giorni,"Lun")) {%> checked <% }%>></TD>
|
||||
<TD height="17" nowrap align="center" width="15%"><input type="checkbox" onclick="settaDataGiorno()" name="giorniSettimana" value="Mar" <% if (resultBean.getSelected(giorni,"Mar")) {%> checked <% }%>></TD>
|
||||
<TD height="17" nowrap align="center" width="15%"><input type="checkbox" onclick="settaDataGiorno()" name="giorniSettimana" value="Mer" <% if (resultBean.getSelected(giorni,"Mer")) {%> checked <% }%>></TD>
|
||||
<TD height="17" nowrap align="center" width="15%"><input type="checkbox" onclick="settaDataGiorno()" name="giorniSettimana" value="Gio" <% if (resultBean.getSelected(giorni,"Gio")) {%> checked <% }%>></TD>
|
||||
<TD height="17" nowrap align="center" width="15%"><input type="checkbox" onclick="settaDataGiorno()" name="giorniSettimana" value="Ven" <% if (resultBean.getSelected(giorni,"Ven")) {%> checked <% }%>></TD>
|
||||
<TD height="17" nowrap align="center" width="15%"><input type="checkbox" onclick="settaDataGiorno()" name="giorniSettimana" value="Sab" <% if (resultBean.getSelected(giorni,"Sab")) {%> checked <% }%>></TD>
|
||||
<TD height="17" nowrap align="center" width="15%"><input type="checkbox" onclick="settaDataGiorno()" name="giorniSettimana" value="Dom" <% if (resultBean.getSelected(giorni,"Dom")) {%> checked <% }%>></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td width="190" height="25"> </td>
|
||||
<td width="279" height="25">
|
||||
<p> <i><b>oppure </b></i></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="190" bgcolor="#FFFFCC" height="25"><b><font color="#D61414">Giorno del
|
||||
mese</font></b></td>
|
||||
<td width="279" height="25">
|
||||
|
||||
<select size="1" name="giornoData" onclick="settaGiorno()">
|
||||
<option value=""></option>
|
||||
<% for(int i=1; i<32;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (("0"+String.valueOf(i)).equals(resultBean.getGiornoMese())) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (String.valueOf(i).equals(resultBean.getGiornoMese())) {%> selected <% }%> ><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="190" height="25"></td>
|
||||
<td width="279" height="25">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="190" bgcolor="#FFFFCC" height="25"><b><font color="#D61414">Orario
|
||||
di Partenza <i><font size="2">(ora:minuti)</font></i></font></b></td>
|
||||
<td width="279" height="25">
|
||||
<p><SELECT name="oraFrom" >
|
||||
<% for(int i=0; i<24;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (ora.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (ora.equals(String.valueOf(i))) {%> selected <% }%> ><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT> :
|
||||
<SELECT name="minutiFrom">
|
||||
<% for(int i=0; i<60;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (minuti.equals("0"+String.valueOf(i))) {%> selected <% }%> >0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (minuti.equals(String.valueOf(i))) {%> selected <% }%> ><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="190" bgcolor="#FFFFCC" height="25"><b><font color="#000000">Orario
|
||||
Ultima Partenza <font size="2"><i>(ora:minuti)</i></font></font></b></td>
|
||||
<td width="279" height="25">
|
||||
<p>
|
||||
<SELECT name="oraTo" onChange="settaMinutiTo()">
|
||||
<option value=""></option>
|
||||
<% for(int i=0; i<24;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (oraTo.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (oraTo.equals(String.valueOf(i))) {%> selected <% }%>><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT> :
|
||||
<SELECT name="minutiTo">
|
||||
<option value=""></option>
|
||||
<% for(int i=0; i<60;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (minutiTo.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (minutiTo.equals(String.valueOf(i))) {%> selected <% }%>><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="190" bgcolor="#FFFFCC" height="25"><b>Periodo
|
||||
<i><font size="2">(minuti)</font></i></b></td>
|
||||
<td width="279" height="25">
|
||||
<p><input type="text" name="every" size="2" value="<%= resultBean.getEveryPeriodo()%>" maxlength="3" ></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="190" height="21" bgcolor="#FFFFCC"><font color="#000000"><b>DeadLine
|
||||
<i>(minuti) *</i></b></font></td>
|
||||
<td width="279" height="21">
|
||||
|
||||
<input type="text" name="deadline" size="2" value="<%= resultBean.getDeadline()%>" maxlength="3" >
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="469" height="21" colspan="2"><font color="#D61414"><i>*
|
||||
si intende il tempo che intercorre dall'ultima partenza allo
|
||||
stop dell'intervallo</i></font></td>
|
||||
</tr>
|
||||
|
||||
</table></div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="70%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:controllaFasciaOraria(<%= cmdOperazione %>)"> Conferma</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: history.back()"> Torna
|
||||
Indietro</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: window.close()"> Chiudi </A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</form>
|
||||
135
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/PopUpListaIntervalli.jsp
Normal file
135
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/PopUpListaIntervalli.jsp
Normal file
@@ -0,0 +1,135 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.command.TaskCommand" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.IntervalloAttivazione" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
// TaskBean aTaskBean =(TaskBean) session.getAttribute("oggettoTaskBean");
|
||||
Vector intervalli =(Vector) session.getAttribute(CrontabCostants.OBJECT_INTERVALLI_SESSION);
|
||||
// System.out.println("Intervalli"+intervalli);
|
||||
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
</head>
|
||||
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="elementoChecked" value="">
|
||||
<table width="524">
|
||||
<td width = "594" valign="top">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Intervalli di Attivazione</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="523">
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="38" align="center"><b>Sel.</b></td>
|
||||
<td width="128" align="center"><b>Giorno</b></td>
|
||||
<td width="72" align="center"><b>Prima Partenza</b></td>
|
||||
<td width="71" align="center"><b>Ultima Partenza</b></td>
|
||||
<td width="83" align="center"><b>DeadLine (minuti)</b></td>
|
||||
<td width="93" align="center"><b>Every (minuti)</b></td>
|
||||
</tr>
|
||||
<% if (intervalli.size() == 0 || intervalli == null)
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="6" align="center" width="416"><b>Nessun Intervallo di Attivazione</b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
else
|
||||
{
|
||||
String colore= new String();
|
||||
for(int i=0; i<intervalli.size();i++)
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
IntervalloAttivazione aIntervallo = (IntervalloAttivazione) intervalli.elementAt(i);
|
||||
//String giorno=IntervalloAttivazione.getDayLabel(aIntervallo);
|
||||
%>
|
||||
|
||||
<tr bgcolor="<%=colore%>" >
|
||||
<td width="38" ><p align="center"><input type="radio" name="elementiLista" value="<%=i %>"></p></td>
|
||||
<td width="128" >
|
||||
<p align="center"><b><%=aIntervallo.getGiorno() %></b></p>
|
||||
</td>
|
||||
<td width="72" >
|
||||
<p align="center"><b><%=aIntervallo.getOraFrom() %></b></p>
|
||||
</td>
|
||||
<td width="71" ><p align="center"><b><%=aIntervallo.getOraTo() %></b></p></td>
|
||||
<td width="83" ><p align="center"><b><%=aIntervallo.getDeadline() %></b></p>
|
||||
</td>
|
||||
<td width="93" >
|
||||
<p align="center"><b><%=aIntervallo.getEveryPeriodo() %></b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="38" align="center"><b>Sel.</b></td>
|
||||
<td width="128" align="center"><b>Giorno</b></td>
|
||||
<td width="72" align="center"><b>Prima Partenza</b></td>
|
||||
<td width="71" align="center"><b>Ultima Partenza</b></td>
|
||||
<td width="83" align="center"><b>DeadLine (minuti)</b></td>
|
||||
<td width="93" align="center"><b>Every(minuti)</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="80%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= CrontabCostants.FNC_NUOVO_INTERVALLO %>)"> Nuovo</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkElimina(document.formCentrale,<%= CrontabCostants.FNC_MODIFICA_INTERVALLO %>,'Modifica')"> Modifica </A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkElimina(document.formCentrale,'<%= CrontabCostants.CMD_ELIMINA_INTERVALLO %>','Elimina')"> Elimina </A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: window.close()"> Chiudi </A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</form>
|
||||
@@ -0,0 +1,141 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.command.TaskCommand" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.IntervalloAttivazione" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
Vector processi =(Vector) session.getAttribute(CrontabCostants.OBJECT_PROCESSI_ASSOCIATI);
|
||||
|
||||
// TaskBean aTaskBean =(TaskBean) session.getAttribute("oggettoTaskBean");
|
||||
/* System.out.println("TASK ID "+aCrontabSession.getTaskId());
|
||||
System.out.println("MiaListaSessione "+MiaListaSessione.size());
|
||||
|
||||
Vector intervalli=TaskCommand.listaIntervalliAttivazione(MiaListaSessione,aCrontabSession.getTaskId());
|
||||
*/
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
</head>
|
||||
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="elementoChecked" value="">
|
||||
<table width="524">
|
||||
<td width = "594" valign="top">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<p class="Titolo"><b><i><font color="#FFFFFF">Processi associati</font></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="520">
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="51" align="center"><b>Sel.</b></td>
|
||||
<td width="177" align="center"><b>Processi</b></td>
|
||||
<td width="146" align="center"><b>Stato </b></td>
|
||||
<td width="126" align="center"><b>Operazione</b></td>
|
||||
</tr>
|
||||
<% if (processi == null)
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="4" align="center" width="512"><b>Nessun Processo associato</b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
else
|
||||
{
|
||||
String colore= new String();
|
||||
for(int i=0; i<processi.size();i++)
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
ProcessBean aProcess = (ProcessBean) processi.elementAt(i);
|
||||
%>
|
||||
|
||||
<tr bgcolor="<%=colore%>" >
|
||||
<td width="51" ><p align="center"><input type="checkbox" name="elementiLista" value="<%=i %>"></p></td>
|
||||
<td width="177" >
|
||||
<p align="center"><b><%= aProcess.getNome()%></b></p>
|
||||
</td>
|
||||
<td width="146" align="center"><b><%= aProcess.getStatoProcesso()%></b>
|
||||
</td>
|
||||
<td width="126" align="center">
|
||||
<% if (aProcess.getStatoProcesso().equals("Disabilitato"))
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE height="17" border="0" width="50%">
|
||||
<TR >
|
||||
<td height="17" nowrap align="center" width="40%" class="hmenu"><A class="hmenu" href="javascript:buttonAction(document.formCentrale,<%= CrontabCostants.CMD_ABILITA_PROCESSO_ASSOCIATO %>,<%= i%>,'y')"> Abilita </A></TD>
|
||||
</tr>
|
||||
</Table>
|
||||
</center>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="51" align="center"><b>Sel.</b></td>
|
||||
<td width="177" align="center"><b>Processi</b></td>
|
||||
<td width="146" align="center"><b>Stato</b></td>
|
||||
<td width="126" align="center"><b>Operazione</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="100%">
|
||||
<TBODY>
|
||||
<TR width="200">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= CrontabCostants.FNC_ASSOCIA_PROCESSO %>)"> Associa
|
||||
Processi</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkRadio(document.formCentrale,<%= CrontabCostants.CMD_DISASSOCIA_PROCESSO %>)"> Disassocia
|
||||
Processi</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkRadio(document.formCentrale,<%= CrontabCostants.CMD_DISABILITA_PROCESSO_ASSOCIATO %>)"> Disabilita
|
||||
Processi</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: window.close()"> Chiudi </A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</form>
|
||||
@@ -0,0 +1,118 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.command.TaskCommand" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.IntervalloAttivazione" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
Vector processi =(Vector) session.getAttribute(CrontabCostants.OBJECT_PROCESSI_BLOCCANTI);
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="ProcessCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
</head>
|
||||
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="elementoChecked" value="">
|
||||
<table width="524">
|
||||
<td width = "594" valign="top">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<p class="Titolo"><b><i><font color="#FFFFFF">Processi Bloccanti</font></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="400">
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="51" align="center"><b>Sel.</b></td>
|
||||
<td width="177" align="center"><b>Processi</b></td>
|
||||
<td width="146" align="center"><b>Stato </b></td>
|
||||
</tr>
|
||||
<% if (processi == null)
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="4" align="center" width="512"><b>Nessun Processo bloccante</b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
else
|
||||
{
|
||||
String colore= new String();
|
||||
for(int i=0; i<processi.size();i++)
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
ProcessBean aProcess = (ProcessBean) processi.elementAt(i);
|
||||
%>
|
||||
|
||||
<tr bgcolor="<%=colore%>" >
|
||||
<td width="51" ><p align="center"><input type="checkbox" name="elementiLista" value="<%=i %>"></p></td>
|
||||
<td width="177" >
|
||||
<p align="center"><b><%= aProcess.getNome()%></b></p>
|
||||
</td>
|
||||
<td width="146" align="center"><b><%= aProcess.getStatoProcesso()%></b>
|
||||
</td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="51" align="center"><b>Sel.</b></td>
|
||||
<td width="177" align="center"><b>Processi</b></td>
|
||||
<td width="146" align="center"><b>Stato</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="100%">
|
||||
<TBODY>
|
||||
<TR width="200">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= CrontabCostants.FNC_ASSOCIA_PROCESSO_BLOCCANTE %>)"> Associa
|
||||
Processi</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkRadio(document.formCentrale,<%= CrontabCostants.CMD_DISASSOCIA_PROCESSO_BLOCCANTE %>)"> Disassocia
|
||||
Processi</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: window.close()"> Chiudi </A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</form>
|
||||
@@ -0,0 +1,113 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.command.TaskCommand" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
Vector processi =(Vector) session.getAttribute(CrontabCostants.OBJECT_PROCESSI_BLOCCANTI_DISPONIBILI);
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="ProcessCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
</head>
|
||||
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="elementoChecked" value="">
|
||||
<table width="524">
|
||||
<td width = "594" valign="top">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<p class="Titolo"><b><i><font color="#FFFFFF">Processi bloccanti</font></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="520">
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="44" align="center"><b>Sel.</b></td>
|
||||
<td width="400" align="center"><b>Processi Disponibili</b></td>
|
||||
</tr>
|
||||
<% if (processi == null)
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="2" align="center"><b>Nessun Processo Disponibile da associare</b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
else
|
||||
{
|
||||
String colore= new String();
|
||||
for(int i=0; i<processi.size();i++)
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
ProcessBean aProcess = (ProcessBean) processi.elementAt(i);
|
||||
%>
|
||||
|
||||
<tr bgcolor="<%=colore%>" >
|
||||
<td width="44" ><p align="center"><input type="radio" name="elementiLista" value="<%=i %>"></p></td>
|
||||
<td width="400" >
|
||||
<p align="center"><b><%= aProcess.getNome()%></b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="44" align="center"><b>Sel.</b></td>
|
||||
<td width="400" align="center"><b>Processi Disponibili</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="80%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkRadio(document.formCentrale,<%= CrontabCostants.CMD_ASSOCIA_PROCESSO_BLOCCANTE %>)"> Associa
|
||||
</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:history.back()"> Torna
|
||||
Indietro</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: window.close()"> Chiudi </A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</form>
|
||||
@@ -0,0 +1,138 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.command.TaskCommand" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
Vector processi =(Vector) session.getAttribute(CrontabCostants.OBJECT_PROCESSI_DISPONIBILI);
|
||||
String ordineMax=(String) request.getAttribute("ORDINE");
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
function controllo(frm,action)
|
||||
{
|
||||
if (parseInt(frm.Ordine.value) > parseInt(frm.ordineChecked.value))
|
||||
alert('Errore. Inserire un numero di ordine inferiore')
|
||||
else
|
||||
checkRadio(frm,action) //document.formCentrale,<%= CrontabCostants.CMD_ASSOCIA_PROCESSO %>)
|
||||
}
|
||||
</script>
|
||||
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="<%=Res.ApplContext%>/jsp/GUI/GUIStyle.css">
|
||||
|
||||
</head>
|
||||
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<INPUT type="hidden" name="elementoChecked" value="">
|
||||
<INPUT type="hidden" name="ordineChecked" value="<%= ordineMax %>">
|
||||
<table width="524">
|
||||
<td width = "594" valign="top">
|
||||
<DIV align="center" >
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<p class="Titolo"><b><i><font color="#FFFFFF">Processi associati</font></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="520">
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="44" align="center"><b>Sel.</b></td>
|
||||
<td width="400" align="center"><b>Processi Disponibili</b></td>
|
||||
</tr>
|
||||
<% if (processi == null)
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="2" align="center"><b>Nessun Processo Disponibile da associare</b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
else
|
||||
{
|
||||
String colore= new String();
|
||||
for(int i=0; i<processi.size();i++)
|
||||
{
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
ProcessBean aProcess = (ProcessBean) processi.elementAt(i);
|
||||
%>
|
||||
|
||||
<tr bgcolor="<%=colore%>" >
|
||||
<td width="44" ><p align="center"><input type="radio" name="elementiLista" value="<%=i %>"></p></td>
|
||||
<td width="400" >
|
||||
<p align="center"><b><%= aProcess.getNome()%></b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
|
||||
<tr bgcolor="#CCCCCC">
|
||||
<td width="44" align="center"><b>Sel.</b></td>
|
||||
<td width="400" align="center"><b>Processi Disponibili</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<table nowrap width="100%">
|
||||
<tbody>
|
||||
<tr >
|
||||
<td height="17" nowrap align="center" width="70%" bgcolor="#FFFFCC"><b><i>Inserisci Ordine Priorità del processo da associare. </i></b><b><FONT color="#D61414">Max. Valore <%= ordineMax%></font></b></td>
|
||||
<td width="30%">
|
||||
<p align="center"><input type="text" name="Ordine" size="2" maxlength="2" value="1"></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="80%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:controllo(document.formCentrale,<%= CrontabCostants.CMD_ASSOCIA_PROCESSO %>)"> Associa
|
||||
</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:history.back()"> Torna
|
||||
Indietro</A></TD>
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript: window.close()"> Chiudi </A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</form>
|
||||
111
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Presentazione.jsp
Normal file
111
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Presentazione.jsp
Normal file
@@ -0,0 +1,111 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ListaTasks" />
|
||||
|
||||
<jsp:useBean id="statoSchedulatore" scope="request" class="java.lang.String" />
|
||||
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY onLoad="aggiornaPresentazione()">
|
||||
<!-- 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/GUI/Banner.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">STATO ATTUALE DI TASK E PROCESSI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '60%' border='0'>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">LISTA TASK ATTIVI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Nome</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Ora Partenza</font></td>
|
||||
</tr>
|
||||
<% if (resultBean.getListaTaskBean().length == 0 )
|
||||
{
|
||||
if (statoSchedulatore.equals("A"))
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="2" align="center"><b><font color="#D61414">Schedulatore Abilitato ma nessum Task Attivo.</font></b></td>
|
||||
</tr>
|
||||
<% }
|
||||
else
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="2" align="center"><b><font color="#D61414">Schedulatore Disabilitato. Premere Abilitazione per abilitare lo schedulatore</font></b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
TaskBean[] r1 = null;
|
||||
r1 = resultBean.getListaTaskBean();
|
||||
for (int i = 0; i < r1.length; i++) {
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=r1[i].getNome()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=r1[i].getOraPartenza()%></font></td>
|
||||
|
||||
</tr>
|
||||
<%}
|
||||
}%>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Nome</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Ora Partenza</font></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
163
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SchedaProcesso.jsp
Normal file
163
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SchedaProcesso.jsp
Normal file
@@ -0,0 +1,163 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.ProcessBean" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="ProcessCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<INPUT type="hidden" name="elementoChecked" value="<%= aCrontabSession.getProcessId() %>">
|
||||
<!-- 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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="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">GESTIONE PROCESSI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"><%= aCrontabSession.getLabelOperazione()%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<table width="656" border="0" height="349" >
|
||||
<tr>
|
||||
<td colspan="2" height="24" width="606" align="right">
|
||||
<p align="left"></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="24"><b><i>Nome<font color="#D61414"> </font></i></b></td>
|
||||
<td width="457" height="24"><%= resultBean.getNome()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="24"><b><i>Descrizione</i></b></td>
|
||||
<td width="457" height="24">
|
||||
|
||||
<p><%= resultBean.getDescrizione()%></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><b><i>Comando</i></b></td>
|
||||
<td width="457" height="24">
|
||||
<%= resultBean.getComando()%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><b><i>Modalità</i></b></td>
|
||||
<td height="24" width="457"><%= resultBean.getModalita()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFCC" height="28" width="143"><b><i>Parametri</i></b></td>
|
||||
<td height="28" width="457"><%= resultBean.getParametri()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24"></td>
|
||||
<td width="457" height="24"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="2" colspan="2" bgcolor="#000080"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><i><b>Task di Riferimento </b></i></td>
|
||||
<td width="457" height="24">
|
||||
<% if (resultBean.getVectorTask() != null )
|
||||
{
|
||||
for (int i=0;i<resultBean.getVectorTask().size();i++)
|
||||
{
|
||||
TaskBean aTask = (TaskBean) resultBean.getVectorTask().elementAt(i);
|
||||
%>
|
||||
<A href="javascript:getScheda(document.formCentrale,<%= CrontabCostants.FNC_DETTAGLIO_TASK %>,'<%= aTask.getIdTask()%>','TaskCommand.do')"><%= aTask.getNome() %></a>
|
||||
<br>
|
||||
<% }
|
||||
}%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="2" colspan="2" bgcolor="#000080"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><i><b>Processi Bloccanti </b></i></td>
|
||||
<td width="457" height="24">
|
||||
<% if (resultBean.getVectorProcessi() != null )
|
||||
{
|
||||
for (int i=0;i<resultBean.getVectorProcessi().size();i++)
|
||||
{
|
||||
ProcessBean aProcess = (ProcessBean) resultBean.getVectorProcessi().elementAt(i);
|
||||
%>
|
||||
<A href="javascript:getScheda(document.formCentrale,<%= CrontabCostants.FNC_DETTAGLIO_PROCESSO %>,'<%= aProcess.getProcessId()%>','ProcessCommand.do')"><%= aProcess.getNome() %></a>
|
||||
<br>
|
||||
<% }
|
||||
}%>
|
||||
</td>
|
||||
</tr>
|
||||
<td height="117" colspan="2">
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="25%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:history.back()"> Torna Indietro</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
</table>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</div>
|
||||
</table>
|
||||
</BODY>
|
||||
</form>
|
||||
152
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SchedaTask.jsp
Normal file
152
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SchedaTask.jsp
Normal file
@@ -0,0 +1,152 @@
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<%@page import = "mnp.crontab.command.CrontabSession" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean" %>
|
||||
<%@page import = "mnp.crontab.objects.ui.ProcessBean" %>
|
||||
<%@page import = "java.util.*" %>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.TaskBean" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattivaProject.jsp" />
|
||||
<%
|
||||
}
|
||||
|
||||
CrontabSession aCrontabSession =(CrontabSession) session.getAttribute(CrontabCostants.OBJECT_CRONTAB_SESSION);
|
||||
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<form method="post" action="TaskCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY>
|
||||
<INPUT type="hidden" name="elementoChecked" value="<%= aCrontabSession.getTaskId() %>">
|
||||
<!-- 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%">
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="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">GESTIONE TASKS</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="100%">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"><%= aCrontabSession.getLabelOperazione()%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<table width="656" border="0" height="349" >
|
||||
<tr>
|
||||
<td colspan="2" height="24" width="606" align="right">
|
||||
<p align="left"></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="24"><b><i>Nome<font color="#D61414"> </font></i></b></td>
|
||||
<td width="457" height="24"><%= resultBean.getNome()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" bgcolor="#FFFFCC" height="24"><b><i>Descrizione</i></b></td>
|
||||
<td width="457" height="24">
|
||||
|
||||
<p><%= resultBean.getDescrizione()%></p>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><b><i>Modalità</i></b></td>
|
||||
<td height="24" width="457"><%= resultBean.getModalita()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#FFFFCC" height="28" width="143"><b><i>Note</i></b></td>
|
||||
<td height="28" width="457"><%= resultBean.getNote()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24"></td>
|
||||
<td width="457" height="24"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="1" bgcolor="#000080" colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="300" height="24" bgcolor="#FFFFCC"><b><font size="3"><i>Intervalli
|
||||
di Attivazione</i></font></b></td>
|
||||
<td width="300" height="24"><%= resultBean.getLabelIntervalli()%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="143" height="24"></td>
|
||||
<td width="457" height="24"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="600" height="2" colspan="2" bgcolor="#000080"> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="143" height="24" bgcolor="#FFFFCC"><i><b>Processi
|
||||
Associati</b></i></td>
|
||||
<td width="457" height="24">
|
||||
<% if (resultBean.getVectorProcessi() != null )
|
||||
{
|
||||
for (int i=0;i<resultBean.getVectorProcessi().size();i++)
|
||||
{
|
||||
ProcessBean aProcesso = (ProcessBean) resultBean.getVectorProcessi().elementAt(i);
|
||||
%>
|
||||
<A href="javascript:getScheda(document.formCentrale,<%= CrontabCostants.FNC_DETTAGLIO_PROCESSO %>,'<%= aProcesso.getProcessId() %>','ProcessCommand.do')"><%= aProcesso.getNome() %></a> <br>
|
||||
<% }
|
||||
}%>
|
||||
</td>
|
||||
</tr>
|
||||
<td height="117" colspan="2">
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<DIV align="center">
|
||||
<TABLE nowrap width="25%">
|
||||
<TBODY>
|
||||
<TR width="180">
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:history.back()"> Torna Indietro</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
|
||||
</table>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
</div>
|
||||
</table>
|
||||
</BODY>
|
||||
</form>
|
||||
166
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SecurityInfoClient.jsp
Normal file
166
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/SecurityInfoClient.jsp
Normal file
@@ -0,0 +1,166 @@
|
||||
<%@page import = "java.util.*" %>
|
||||
<%@page import = "mnp.crontab.utility.ui.Res" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>Pagina di verifica delle impostazioni di sicurezza</title>
|
||||
|
||||
|
||||
|
||||
<LINK REL="stylesheet" TYPE="text/css" HREF="GUIStyle.css" >
|
||||
<SCRIPT language="Javascript">
|
||||
|
||||
function inviaDatiClient() {
|
||||
|
||||
var usernameclient;
|
||||
var locator;
|
||||
var service;
|
||||
var properties;
|
||||
var e;
|
||||
var p;
|
||||
var ip;
|
||||
var hn;
|
||||
|
||||
|
||||
|
||||
try {
|
||||
|
||||
usernameclient = new ActiveXObject("WScript.Network").UserName;
|
||||
locator = new ActiveXObject ("WbemScripting.SWbemLocator");
|
||||
service = locator.ConnectServer(".");
|
||||
properties = service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
|
||||
e = new Enumerator (properties);
|
||||
|
||||
for (;!e.atEnd();e.moveNext ()) {
|
||||
p = e.item ();
|
||||
|
||||
if (p.IPAddress!=null ) {
|
||||
document.forms["loginForm"].elements["hostnameclient"].value = p.DNSHostName;
|
||||
document.forms["loginForm"].elements["ipclient"].value = p.IPAddress(0);
|
||||
}
|
||||
}
|
||||
document.forms["loginForm"].elements["utenzaclient"].value = usernameclient;
|
||||
|
||||
}
|
||||
catch(e){
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
document.forms["loginForm"].elements["info_client"].value="YES";
|
||||
|
||||
document.forms["loginForm"].submit();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
function doSubmit(){
|
||||
|
||||
|
||||
document.forms["loginForm"].submit();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</SCRIPT>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<BODY class = "normal">
|
||||
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ReqURL%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td HEIGHT = "100%" width = "10%" bgcolor = "#D61414" valign = "top">
|
||||
|
||||
</td>
|
||||
|
||||
<td align = "right" valign = "top" width = "90%">
|
||||
<BR>
|
||||
<i><b><FONT face = "Arial" color = "#455598" size = 4 weight = "700">MNP-GUI</Font></b></i>
|
||||
<form name="loginForm" method="post" action="<%=Res.ReqURL%>/Login.do" target="_self">
|
||||
<INPUT type="hidden" name="ipclient">
|
||||
<INPUT type="hidden" name="hostnameclient">
|
||||
<INPUT type="hidden" name="utenzaclient">
|
||||
<INPUT type="hidden" name="info_client">
|
||||
|
||||
<!--
|
||||
<TABLE border = 0 align = "center" width = "100%">
|
||||
<BR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3"><font face="Arial" color="#455598" size="4"><b><u>GESTIONE ATTIVITA' MNP</u></b></font></TD>
|
||||
</TR>
|
||||
<TR><TD colspan = "3" > </TD></TR>
|
||||
<TR><TD colspan = "3" > </TD></TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><FONT face = "Arial" color = "#455598" size = 2><b><u>UserID :</u></b></FONT></TD>
|
||||
</TR>
|
||||
<TD align = "center" colspan = "3" ><input type="text" name="userID" maxlength="16" ></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><FONT face = "Arial" color = "#455598" size = 2><b><u>Password :</u></b></FONT></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><input type="password" name="password" maxlength="16"></TD>
|
||||
</TR>
|
||||
<TR><TD colspan = "3"> </TD></TR>
|
||||
<TR>
|
||||
<TD align = "center" colspan = "3" ><input type="submit" name="Send" value=" Log-In "></TD>
|
||||
</TR>
|
||||
<TR><TD colspan = "3"> </TD></TR>
|
||||
|
||||
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr><td> </td></tr>
|
||||
|
||||
</TABLE>-->
|
||||
<!-- </td></tr></table> -->
|
||||
|
||||
|
||||
</form>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = "center" width = "85%" height="116">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">Verifica delle impostazioni di sicurezza del browser in corso.... <br />
|
||||
Se non si viene reindirizzati entro 10 secondi<a href="javascript: void doSubmit()"> Cliccare qui </a> per andare avanti.</P></i></b>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- <hr class = "riga"> -->
|
||||
<!-- tabella x menu -->
|
||||
|
||||
<script type="text/javascript" language="Javascript">
|
||||
<!--
|
||||
|
||||
inviaDatiClient();
|
||||
-->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
124
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/sessioneInattiva.html
Normal file
124
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/sessioneInattiva.html
Normal file
@@ -0,0 +1,124 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>MNP - Inattività Sessione</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.0.2 for Windows">
|
||||
<META http-equiv="Content-Style-Type" content="text/css">
|
||||
<LINK href="/jscommon/multistyle.css" rel="stylesheet" type="text/css">
|
||||
<SCRIPT language="JavaScript1.2">
|
||||
function ritorna(frm,fnc)
|
||||
{
|
||||
|
||||
frm.JSP_NAME.value=fnc;
|
||||
frm.submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
|
||||
<form method="POST" name="inattiva" action="" >
|
||||
<INPUT type="hidden" name="JSP_NAME" value="">
|
||||
<TABLE cellpadding="0" cellspacing="0" width="100%">
|
||||
<TBODY>
|
||||
<TR>
|
||||
<TD rowspan="2" valign="middle" align="center" >
|
||||
</TD>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<TD colspan="2" height="40">
|
||||
<div align="center"><b><font size="+1" color="#FFFFFF"><FONT size="5" color="#000000">MNP Crontab<BR>
|
||||
</FONT></font></b></div>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR>
|
||||
<TD valign="middle" width="167" align="center"></TD>
|
||||
<TD height="4" valign="bottom" width="404"></TD>
|
||||
<TD height="4" valign="bottom" width="222"></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
<table width="80%" border="0" align="center" >
|
||||
<tr>
|
||||
<td width="16%" height="86">
|
||||
<h1 align="center"> </h1>
|
||||
</td>
|
||||
<td width="69%" height="86"> </td>
|
||||
<td width="15%" height="86">
|
||||
<div align="center"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16%"> </td>
|
||||
<td width="69%">
|
||||
<div align="center"><b><FONT size="4">Sessione Inattiva!!!</FONT></b></DIV></td>
|
||||
<td width="15%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16%" height="63"> </td>
|
||||
<td width="69%" height="63"> </td>
|
||||
<td width="15%" height="63"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16%"> </td>
|
||||
<td width="69%">
|
||||
<div align="center">
|
||||
<INPUT type="button" value="Torna indietro" class="sbttn" onclick="javascript: window.close()">
|
||||
</div>
|
||||
</td>
|
||||
<td width="15%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="16%" height="48"> </td>
|
||||
<td width="69%" height="48"> </td>
|
||||
<td width="15%" height="48"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p><DIV align="center">
|
||||
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<!-- <tbody> -->
|
||||
<!-- Colonna Contenuto (1) -->
|
||||
<tbody>
|
||||
<tr align="middle" valign="top">
|
||||
<!-- Colonna Spazio (2) -->
|
||||
<!-- Colonna Contenuto (3) -->
|
||||
<!-- Colonna Spazio (4) -->
|
||||
<!-- Colonna Contenuto (5) -->
|
||||
</tr>
|
||||
<!-- Riga Spazio PiePagina -->
|
||||
<tr>
|
||||
<td height="4" width="200%">
|
||||
<p align="center" style="MARGIN-BOTTOM: 6px; MARGIN-TOP: 6px"><font color="#800000" face="Tahoma" size="1"><b><font color="#000000">Avviso
|
||||
ai navigatori</font></b></font><font face="Tahoma" size="1" color="#000000">:
|
||||
</font></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- Riga PiePagina -->
|
||||
<TD align="middle" bgcolor="#C0C0C0" height="20" valign="center"><font color="#ffffff"> <FONT face="Tahoma" size="1" color="#000000">INFORMAZIONI
|
||||
generiche</FONT></font></TD>
|
||||
</tr>
|
||||
</tbody>
|
||||
</TABLE>
|
||||
</DIV>
|
||||
<div align="center">
|
||||
<center>
|
||||
<table cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="100%">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
</FORM></BODY>
|
||||
</html>
|
||||
@@ -0,0 +1,67 @@
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<%@page import = "mnp.crontab.command.CrontabCostants" %>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<META HTTP-EQUIV="Refresh" CONTENT="10; url=<%=Res.ApplContext%>/jsp/GUI/Logout.jsp">
|
||||
<BODY>
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=request.getContextPath()%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width = "100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="center" >
|
||||
|
||||
<table cellpadding="0" cellspacing="0" nowrap width="620" colspan="2">
|
||||
<tbody>
|
||||
<tr align = "right" valign = "top" width="85%">
|
||||
<td width="615" height="10" align="right">
|
||||
<b><i><P ><Font size="4" face="Arial" color = "#D61414">MESSAGGIO DI SESSIONE
|
||||
INATTIVA</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="615" >
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="59" width="615">
|
||||
<p align="center">
|
||||
<br>
|
||||
<b><i></i></b>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align = "center" width = "85%" height="116">
|
||||
<!--fine tabella x menu -->
|
||||
<br>
|
||||
<br>
|
||||
<b><i><P class = "titolo">La Sessione e' inattiva. Chiudere il browser e riautenticarsi per riutilizzare la GESTIONE DELLE ATTIVITA' di MNP</P></i></b>
|
||||
<!-- tabella x menu verticale-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
|
||||
</HTML>
|
||||
228
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsCCRMConfSchedulazione.jsp
Normal file
228
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsCCRMConfSchedulazione.jsp
Normal file
@@ -0,0 +1,228 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ui.IntervalloAttivazione" />
|
||||
|
||||
<% if (session.isNew()) { session.invalidate(); %>
|
||||
<jsp:forward page="sessioneInattiva.html" />
|
||||
<%
|
||||
}
|
||||
String ora =resultBean.getOraFrom().substring(0,2);
|
||||
String minuti =resultBean.getOraFrom().substring(3,5);
|
||||
String oraTo =resultBean.getOraTo().substring(0,2);
|
||||
String minutiTo =resultBean.getOraTo().substring(3,5);
|
||||
%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
|
||||
function controllaFasciaOraria(form,action)
|
||||
{
|
||||
oraFrom=form.oraFrom
|
||||
oraTo=form.oraTo
|
||||
minutiFrom=form.minutiFrom
|
||||
minutiTo=form.minutiTo
|
||||
|
||||
|
||||
var ora1=parseInt(oraFrom.value,10);
|
||||
var ora2=parseInt(oraTo.value,10);
|
||||
|
||||
var minuto1=parseInt(minutiFrom.value,10);
|
||||
var minuto2=parseInt(minutiTo.value,10);
|
||||
|
||||
if (ora1 > ora2)
|
||||
{
|
||||
alert('Attenzione: Controllare Intervallo Orario!');
|
||||
oraTo.value='00'
|
||||
minutiTo.value='00'
|
||||
return
|
||||
}
|
||||
if (ora2 == ora1)
|
||||
{
|
||||
|
||||
if (minuto1 > minuto2)
|
||||
{
|
||||
alert('Attenzione: Controllare Intervallo Orario!');
|
||||
oraTo.value='00'
|
||||
minutiTo.value='00'
|
||||
return
|
||||
}
|
||||
}
|
||||
buttonActionPassaggio(form,action)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" 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 align='center'>
|
||||
|
||||
<table width = '60%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"> </P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="21" width="90%" align="right"><font color="#D61414"><i>campi obbligatori</i></font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="60%" height="30%" align="center" border="1" bordercolor="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "center" width="85%" bgcolor="#CCCCCC" colspan="2" height="21">
|
||||
<p align="center"><font color="#000080" size="4"><b><i>Intervallo Schedulato</i></b></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td width="190" height="25"></td>
|
||||
<td width="279" height="25">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="190" bgcolor="#FFFFCC" height="25"><b><font color="#D61414">Inizio
|
||||
Intervallo <i><font size="2">(ora:minuti)</font></i></font></b></td>
|
||||
<td width="279" height="25">
|
||||
<p><SELECT name="oraFrom" >
|
||||
<% for(int i=0; i<24;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (ora.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (ora.equals(String.valueOf(i))) {%> selected <% }%> ><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT> :
|
||||
<SELECT name="minutiFrom">
|
||||
<% for(int i=0; i<60;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (minuti.equals("0"+String.valueOf(i))) {%> selected <% }%> >0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (minuti.equals(String.valueOf(i))) {%> selected <% }%> ><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="190" bgcolor="#FFFFCC" height="25"><font color="#D61414"><b>Fine
|
||||
Intervallo <font size="2"><i>(ora:minuti)</i></font></b></font></td>
|
||||
<td width="279" height="25">
|
||||
<p>
|
||||
<SELECT name="oraTo" onChange="settaMinutiTo()">
|
||||
<option value=""></option>
|
||||
<% for(int i=0; i<24;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (oraTo.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (oraTo.equals(String.valueOf(i))) {%> selected <% }%>><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT> :
|
||||
<SELECT name="minutiTo">
|
||||
<option value=""></option>
|
||||
<% for(int i=0; i<60;i++)
|
||||
{
|
||||
if (i<10)
|
||||
{ %>
|
||||
<OPTION value="0<%=i%>" <% if (minutiTo.equals("0"+String.valueOf(i))) {%> selected <% }%>>0<%=i%></OPTION>
|
||||
<% }
|
||||
else { %>
|
||||
<OPTION value="<%=i%>" <% if (minutiTo.equals(String.valueOf(i))) {%> selected <% }%>><%=i%></OPTION>
|
||||
<% }
|
||||
} %>
|
||||
</SELECT></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="469" height="21" colspan="2"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="469" height="21" colspan="2"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="100%" height="21" colspan="2">
|
||||
<center>
|
||||
<TABLE nowrap width="30%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:controllaFasciaOraria(document.formCentrale,<%= ApplicationManagerCostants.CMD_MODIFICA_SCHEDULAZIONE_CCRM %>)"> Aggiorna Intervallo</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
156
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsPriorityXML.jsp
Normal file
156
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsPriorityXML.jsp
Normal file
@@ -0,0 +1,156 @@
|
||||
<%@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>
|
||||
156
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsPriorityXMLAck.jsp
Normal file
156
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsPriorityXMLAck.jsp
Normal file
@@ -0,0 +1,156 @@
|
||||
<%@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.FileInfoAck" />
|
||||
<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 ACK 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>
|
||||
156
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsPriorityXMLIn.jsp
Normal file
156
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsPriorityXMLIn.jsp
Normal file
@@ -0,0 +1,156 @@
|
||||
<%@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 INGRESSO </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.getListaPrioritaIn();
|
||||
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_IN %>)"> Aggiorna Dati</A></p>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
145
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsStatoOperatore.jsp
Normal file
145
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InsStatoOperatore.jsp
Normal file
@@ -0,0 +1,145 @@
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.ItemBean"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="java.util.ArrayList" />
|
||||
<jsp:useBean id="resultName" scope="request" class="java.lang.String" />
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@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 align='center'>
|
||||
|
||||
<table width = '60%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080" colspan="5">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">STATO OPERATORI DEL FILE : <%= resultName%></font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#FFFFCC" colspan="5">
|
||||
<p align="center"><font color="#D61414"><b><i>
|
||||
Lista Operatori</i></b></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "center" valign = "top" width="15%" bgcolor="#CCCCCC">
|
||||
<b><i>Sistema</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" bgcolor="#CCCCCC" colspan="4">
|
||||
<b><i>Abilitazione</i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
for(int i=0; i<resultBean.size();i++)
|
||||
|
||||
{
|
||||
ItemBean objF = (ItemBean) resultBean.get(i);
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td align = "center" valign = "top" width="15%">
|
||||
<b><i><%= objF.getLabels()%></i></B>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="4%">
|
||||
<B> Si</B>
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="4%">
|
||||
|
||||
<p><input type="radio" value="Si" name="<%= i%>" <% if (objF.isValuesBoolean()) { %>checked <%}%> ></p>
|
||||
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="3%">
|
||||
<B> No</B>
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="3%">
|
||||
|
||||
<p><input type="radio" value="No" name="<%= i%>" <% if (!objF.isValuesBoolean()) { %>checked <%}%>></p>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<% }%>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<center>
|
||||
<TABLE nowrap width="20%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu">
|
||||
<p align="center"><A class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= ApplicationManagerCostants.CMD_AGGIORNA_OPERATORE_XML %>)"> Aggiorna</A></p>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
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>
|
||||
12
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InvioAttivazioneGisp.jsp
Normal file
12
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/InvioAttivazioneGisp.jsp
Normal file
@@ -0,0 +1,12 @@
|
||||
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
||||
pageEncoding="ISO-8859-1"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Insert title here</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
197
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/ListaFileAck.jsp
Normal file
197
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/ListaFileAck.jsp
Normal file
@@ -0,0 +1,197 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
|
||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||
<title>Nuova pagina 2</title>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
function checkNumber(number)
|
||||
{
|
||||
|
||||
if (isNaN(number.value))
|
||||
{
|
||||
alert('Numero Errato');
|
||||
number.value='0';
|
||||
number.focus();
|
||||
}
|
||||
}
|
||||
</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="">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants"%>
|
||||
<%@page import = "mnp.crontab.command.ManagerSession"%>
|
||||
<%@page import = "mnp.crontab.objects.am.FileInfoAck"%>
|
||||
<%@page import = "java.util.*"%>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.am.XMLObject" />
|
||||
<% ManagerSession aManagerSession = (ManagerSession) session.getAttribute(
|
||||
ApplicationManagerCostants.OBJECT_MANAGER_SESSION);
|
||||
String pathCfg = aManagerSession.getPath_file();
|
||||
%>
|
||||
<!-- 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 SISTEMA GESTIONE XML </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="100%" colspan="5" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">File: <%=pathCfg%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p>
|
||||
|
||||
<table width = '100%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="100%" colspan="7">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#000080">Il nome è composto da Ack e riferimento alla Tipologia File</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080" colspan="7">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Lista File Ack</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="100%" bgcolor="#FFFFCC" colspan="7">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "center" valign = "top" width="15%" bgcolor="#CCCCCC">
|
||||
<b><i>Nome</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="17%" bgcolor="#CCCCCC" colspan="2">
|
||||
<b><i>Operatori Abilitati</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" bgcolor="#CCCCCC" colspan="2">
|
||||
<b><i>Schedulazione</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="22%" bgcolor="#CCCCCC" colspan="2">
|
||||
<b><i>Processo - Priorità</i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
ArrayList r = null;
|
||||
r = resultBean.getListaFileAck();
|
||||
for(int i=0; i<r.size();i++)
|
||||
|
||||
{
|
||||
FileInfoAck FI = (FileInfoAck) r.get(i);
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td align = "center" valign = "center" width="15%">
|
||||
<b><%= FI.getNome()%></b>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width="10%">
|
||||
<%= FI.getLabelOperatori()%>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
<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_OPERATORE_ACK %>,'<%= i%>','n')"> Modifica</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="7%">
|
||||
<%= FI.getLabelSchedulazione()%>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
<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_SCHEDULAZIONE_ACK %>,'<%= i%>','n')"> Modifica</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
<td align = "left" valign = "center" width="15%">
|
||||
<%= FI.getLabelProcessiPriorita()%>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
<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_PRIORITA_ACK_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 presentazione di Gestione Xml" class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= ApplicationManagerCostants.FNC_BACK_XML %>)"> Torna
|
||||
a Gestione XML</A></p>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
</form>
|
||||
@@ -0,0 +1,100 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" 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">PRESENTAZIONE APPLICATION MANAGER</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '80%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Presentazione</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%">
|
||||
<p>Il servizio si occupa di interagire con il
|
||||
normale processo di MNP fungendo da server delle attività del
|
||||
sistema. Si prevede di applicare questo meccanismo inizialmente
|
||||
per un sotto insieme delle funzionalità possibili di MNP per poi
|
||||
estenderlo alla maggior parte del sistema.</p>
|
||||
<p>Le aree di intervento riguardano
|
||||
principalmente la gestione delle attività asincrone che
|
||||
definiscono il processo di work-flow delle richieste. In
|
||||
particolare il nuovo meccanismo prevede che tutti i componenti
|
||||
ricevitori delle code si colleghino automaticamente allo scheduler
|
||||
per la richiesta di informazioni sull'attività da svolgere.</p>
|
||||
<p>In tal modo parte della logica di gestione
|
||||
del processo viene trasferita nello schedulatore per il controllo
|
||||
di:</p>
|
||||
<p><b>Finestre temporal</b>i per l'invio/ricezione di
|
||||
informazioni<br>
|
||||
<b>Configurazione</b> delle modalità di invio<br>
|
||||
|
||||
Numero di richieste per file<br>
|
||||
|
||||
Attivazione dell'invio a tempo<br>
|
||||
|
||||
Attivazione dell'invio per altra tipologia di evento<br>
|
||||
<b>Abilitazione/disabilitazione</b> di un servizio di MNP
|
||||
che riguarda il colloquio DBC - AOM o DBC - Sistemi interni
|
||||
TIM.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
124
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/PresentazioneInterfacce.jsp
Normal file
124
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/PresentazioneInterfacce.jsp
Normal file
@@ -0,0 +1,124 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
<%
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
%>
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
|
||||
|
||||
function msg(valore)
|
||||
{
|
||||
|
||||
if (valore != '' && valore != 'null')
|
||||
alert('Aggiornamento password avvenuto con successo.')
|
||||
}
|
||||
</script>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY onLoad="msg('<%= request.getAttribute("Aggiornamento")%>')">
|
||||
<!-- 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/BannerInterfacce.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">PRESENTAZIONE INTERFACCE</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '80%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="40%" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Utente: <%= aLoginBean.getUserID()%>
|
||||
</font></P>
|
||||
</i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Profilo : <%= aLoginBean.getProfilo() %>
|
||||
</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%">
|
||||
Menu' di accesso alle varie Interfacce Grafiche di MNP.<p><b>CRONTAB</b> per
|
||||
la gestione e schedulazione di task e processi java per l'invio/ricezione di
|
||||
informazioni</p>
|
||||
<p><br>
|
||||
<b>APPLICATION MANAGER</b> per la configurazione dei sistemi interni e del
|
||||
sistema xml per le modalità di invio di Numero di richieste per file, Attivazione dell'invio a tempo,
|
||||
Attivazione dell'invio per altra tipologia di evento</p>
|
||||
<p><br>
|
||||
<b>MNP</b> per il riepilogo dello stato, nella giornata odierna, delle richieste presenti in DBC, <br>
|
||||
riepilogo dello stato delle richieste presenti in DBC pervenute in una data o intervallo di tempo particolare,
|
||||
gestione parziale della reportistica attuale, ricerca di richieste presenti in DBC,
|
||||
modifica dello stato di richieste presenti in DBC per: Annullamento forzato, Attivazione forzata Recipient
|
||||
(MSS), Disattivazione forzata Donor (MSS), Canale alternativo
|
||||
</p>
|
||||
<p> </p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
<form action="<%= Resources.getHTTP_LOGIN_MNP()%>" method="post" name="formLoginToMNP">
|
||||
<INPUT type="hidden" name="user" value="<%=aLoginBean.getUserID()%>">
|
||||
<INPUT type="hidden" name="profilo" value="<%=aLoginBean.getCodiceProfilo()%>">
|
||||
<INPUT type="hidden" name="ipAddress" value="<%=aLoginBean.getIpAddress()%>">
|
||||
<INPUT type="hidden" name="ipclient" value="<%=aLoginBean.getIpClient()%>">
|
||||
<INPUT type="hidden" name="hostnameclient" value="<%=aLoginBean.getHostNameClient()%>">
|
||||
<INPUT type="hidden" name="utenzaclient" value="<%=aLoginBean.getUtenzaClient()%>">
|
||||
|
||||
</form>
|
||||
</HTML>
|
||||
161
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/SistemiConfigurazione.jsp
Normal file
161
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/SistemiConfigurazione.jsp
Normal file
@@ -0,0 +1,161 @@
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.ItemBean"%>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="java.util.ArrayList" />
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
<%
|
||||
String pathCfg = (String)request.getAttribute(ApplicationManagerCostants.OBJECT_NOME_FILE);
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_APPLICATION_MANAGER,ProfileConfig.SISTEMI_CONFIGURAZIONE);
|
||||
|
||||
%>
|
||||
|
||||
<form method="post" action="SistemiCommand.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 SISTEMI INTERNI </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="5" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">File: <%=pathCfg%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '90%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080" colspan="5">
|
||||
<b><i>
|
||||
<font color="#FFFFFF">SISTEMI INTERNI</font></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#FFFFCC" colspan="5">
|
||||
<p align="center"><font color="#D61414"><b><i>
|
||||
Lista Sistemi Interni</i></b></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "center" valign = "top" width="15%" bgcolor="#CCCCCC">
|
||||
<b><i>Sistema</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" bgcolor="#CCCCCC" colspan="4">
|
||||
<b><i>Abilitazione</i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
for(int i=0; i<resultBean.size();i++)
|
||||
|
||||
{
|
||||
ItemBean objF = (ItemBean) resultBean.get(i);
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td align = "center" valign = "top" width="15%">
|
||||
<b><i><%= objF.getLabels()%></i></B>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="4%">
|
||||
<B> Si</B>
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="4%">
|
||||
|
||||
<p><input type="radio" value="Si" name="<%= objF.getValues()%>" <% if (objF.isValuesBoolean()) { %>checked <%}%> ></p>
|
||||
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="3%">
|
||||
<B> No</B>
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="3%">
|
||||
|
||||
<p><input type="radio" value="No" name="<%= objF.getValues()%>" <% if (!objF.isValuesBoolean()) { %>checked <%}%>></p>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<% }%>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(ApplicationManagerCostants.CMD_APPLY_SISTEMI_INTERNI)))
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE nowrap width="20%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu">
|
||||
<p align="center"><A title="Conferma gli stati dei Sistemi Interni" class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= ApplicationManagerCostants.CMD_APPLY_SISTEMI_INTERNI %>)"> Apply</A></p>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
<% } %>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
708
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/VerificheScriptCrontab.txt
Normal file
708
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/VerificheScriptCrontab.txt
Normal file
@@ -0,0 +1,708 @@
|
||||
<script language = "Javascript">
|
||||
|
||||
//----------------------------------------//
|
||||
// Questo file contiene gli script //
|
||||
// javascript per validare le pagine jsp //
|
||||
// lato client. //
|
||||
// @Autore : Massimo Zagaria //
|
||||
// @Data : 28/05/2003 //
|
||||
//----------------------------------------//
|
||||
function loginToMNP(form) {
|
||||
form.submit();
|
||||
|
||||
}
|
||||
|
||||
//----------------------------------------//
|
||||
// JAVASCRIPT GENERALI
|
||||
//----------------------------------------//
|
||||
// CONTROLLO LA PASSWORD
|
||||
function equalPassword(frm)
|
||||
{
|
||||
// controlli sulle due password digitate
|
||||
if (frm.password.value != frm.passwordConferm.value)
|
||||
{
|
||||
alert('Inserire due password identiche.')
|
||||
frm.password.value=''
|
||||
frm.passwordConferm.value=''
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function checkPassword(frm,action)
|
||||
{
|
||||
|
||||
// controlli sulla password
|
||||
if (equalPassword(frm))
|
||||
return;
|
||||
|
||||
// 1 - password vuota
|
||||
if (frm.password.value =='')
|
||||
{
|
||||
alert('Inserire una password di almeno '+frm.LENGTH_PASSWORD.value+' caratteri')
|
||||
frm.passwordConferm.value=''
|
||||
return;
|
||||
}
|
||||
var pwdLength=parseInt(frm.LENGTH_PASSWORD.value,10);
|
||||
// 2 - lunghezza minima parametrica
|
||||
if (frm.password.value.length <= pwdLength-1)
|
||||
{
|
||||
alert('Inserire una password di almeno '+frm.LENGTH_PASSWORD.value+' caratteri')
|
||||
frm.password.value=''
|
||||
frm.passwordConferm.value=''
|
||||
return;
|
||||
}
|
||||
|
||||
// 3 - password con spazi bianchi
|
||||
if (frm.password.value.indexOf(' ') != -1)
|
||||
{
|
||||
alert ('Inserire una password senza spazi bianchi')
|
||||
frm.password.value='';
|
||||
frm.passwordConferm.value=''
|
||||
return;
|
||||
}
|
||||
|
||||
frm.JSP_FUNCTION.value = action;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
function today()
|
||||
{
|
||||
var now = new Date();
|
||||
date = now.toString();
|
||||
var m = date.substring( 4, 7 );
|
||||
var month = "Maggio";
|
||||
if (m == "Jan") month = "gennaio";
|
||||
else if (m == "Feb") month = "Febbraio";
|
||||
else if (m == "Mar") month = "Marzo";
|
||||
else if (m == "Apr") month = "Aprile";
|
||||
else if (m == "Jun") month = "Giugno";
|
||||
else if (m == "Jul") month = "Luglio";
|
||||
else if (m == "Aug") month = "Agosto";
|
||||
else if (m == "Sep") month = "Settembre";
|
||||
else if (m == "Oct") month = "Ottobre";
|
||||
else if (m == "Nov") month = "Novembre";
|
||||
else if (m == "Dec") month = "Dicembre";
|
||||
|
||||
var gg = date.substring(7,10);
|
||||
if (gg < 10)
|
||||
var ora = date.substring(10,15)
|
||||
else
|
||||
var ora = date.substring(10,16)
|
||||
|
||||
return month + " " + gg + ", " + date.substring(date.length-4, date.length)+" "+ora;
|
||||
}
|
||||
|
||||
function buttonActionTask(frm,cmd,element,modalita){
|
||||
|
||||
frm.JSP_FUNCTION.value=cmd;
|
||||
frm.elementoChecked.value=element;
|
||||
frm.modalita.value=modalita;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
function buttonActionWithParam(frm,cmd,element,param,flagConfirm){
|
||||
frm.elementoCheckedParam.value=param;
|
||||
return buttonAction(frm, cmd, element, flagConfirm);
|
||||
}
|
||||
|
||||
function buttonActionRiabilita(frm,cmd,element,password){
|
||||
|
||||
frm.JSP_FUNCTION.value=cmd;
|
||||
frm.elementoChecked.value=element;
|
||||
if (!confirm('Riabilitazione Utenza con Password di default : '+ password +
|
||||
'. Confermi Operazione ?'))
|
||||
return;
|
||||
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
function buttonAction(frm,cmd,element,flagConfirm){
|
||||
|
||||
frm.JSP_FUNCTION.value=cmd;
|
||||
frm.elementoChecked.value=element;
|
||||
if (flagConfirm != 'n')
|
||||
{
|
||||
if (!confirm('Confermi Operazione ?'))
|
||||
return;
|
||||
}
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
function getScheda(frm,cmd,element,actionForm){
|
||||
|
||||
frm.JSP_FUNCTION.value=cmd;
|
||||
frm.elementoChecked.value=element;
|
||||
frm.action=actionForm;
|
||||
frm.submit();
|
||||
}
|
||||
function buttonActionPassaggio(frm,cmd){
|
||||
|
||||
frm.JSP_FUNCTION.value=cmd;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
function OpenPopUp(pageJsp)
|
||||
{
|
||||
var url=pageJsp;
|
||||
var wx = window.screen.width;
|
||||
var wy= window.screen.height;
|
||||
wx = (wx/2)-(600/2);
|
||||
wy = (wy/2)-(500/2);
|
||||
window.open(url, '', 'toolbar=no,menubar=no,width=600,height=500,scrollbars=yes,top=' + wy + ',left=' + wx)
|
||||
window.opener=self
|
||||
}
|
||||
|
||||
function checkLista(frm,action,msg,flagConfirm)
|
||||
{
|
||||
|
||||
n=0;
|
||||
|
||||
if ((!frm.elementiLista.length >=2) || frm.elementiLista.checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista.value
|
||||
n=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
for (var i=0;i<frm.elementiLista.length;i++)
|
||||
{
|
||||
if (frm.elementiLista[i].checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista[i].value
|
||||
n=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (n==0)
|
||||
{
|
||||
alert(msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
|
||||
if (flagConfirm != 'n')
|
||||
{
|
||||
if (!confirm('Confermi Operazione ?'))
|
||||
return;
|
||||
}
|
||||
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//----------------------------------------//
|
||||
//Controlla la pagina Banner.jsp
|
||||
//----------------------------------------//
|
||||
|
||||
function messageAlert(frm,cmd,msg,action){
|
||||
if (confirm(msg + ' Continuare ? '))
|
||||
{
|
||||
frm.JSP_FUNCTION.value=cmd;
|
||||
frm.action=action;
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function buttonActionMenu(frm,cmd,action){
|
||||
frm.JSP_FUNCTION.value=cmd;
|
||||
frm.action=action;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
//----------------------------------------//
|
||||
//Controlla la pagina ListaTasksDisponibili
|
||||
//----------------------------------------//
|
||||
|
||||
function checkAllRadioElimina(frm,action)
|
||||
{
|
||||
|
||||
n=0;
|
||||
|
||||
if ((!frm.elementiLista.length >=2) || frm.elementiLista.checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista.value
|
||||
frm.modalita.value=frm.modalitaLista.value
|
||||
n=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
for (var i=0;i<frm.elementiLista.length;i++)
|
||||
{
|
||||
if (frm.elementiLista[i].checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista[i].value
|
||||
frm.modalita.value=frm.modalitaLista[i].value
|
||||
n=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (n==0)
|
||||
{
|
||||
alert('Selezionare un elemento della Lista ');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
|
||||
if (frm.modalita.value !='0')
|
||||
{
|
||||
|
||||
if ((frm.modalita.value !='Abilitato') && (frm.modalita.value !='Disabilitato'))
|
||||
|
||||
{
|
||||
alert('Non è possibile Eliminare un Processo che è associato ad almeno un Task.')
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (frm.modalita.value=='Running')
|
||||
{
|
||||
alert('Non è possibile Eliminare un Task in fase di Running.')
|
||||
return;
|
||||
}
|
||||
|
||||
if (!confirm('Confermi eliminazione elemento ?'))
|
||||
return;
|
||||
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------//
|
||||
//Controllo FORM INSERIMENTO TASK
|
||||
//----------------------------------------//
|
||||
|
||||
|
||||
function resetAllFieldIntervallo(frm)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi da resettare
|
||||
// ArrayCampi = array dei campi che devono essere resettati
|
||||
|
||||
var ncampi=6;
|
||||
var ArrayCampi = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampi[0] = frm.giorno
|
||||
ArrayCampi[1] = frm.oraFrom
|
||||
ArrayCampi[2] = frm.minutoFrom
|
||||
ArrayCampi[3] = frm.oraTo
|
||||
ArrayCampi[4] = frm.minutoTo
|
||||
ArrayCampi[5] = frm.every
|
||||
|
||||
ResetAllField(ArrayCampi)
|
||||
|
||||
}
|
||||
|
||||
|
||||
function checkAllFieldIntervallo(frm,action)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi obbligatori da controllare
|
||||
// ArrayCampiObbligatori = array dei campi obbligatori che devono essere controllati
|
||||
// ArrayEtichetteCampiObbligatori = array di etichette dei campi obbligatori
|
||||
|
||||
var ncampi=2;
|
||||
var ArrayCampiObbligatori = new Array(ncampi)
|
||||
var ArrayEtichetteCampiObbligatori = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampiObbligatori[0] = frm.giorno
|
||||
ArrayEtichetteCampiObbligatori[0]= 'Giorno di attivazione'
|
||||
ArrayCampiObbligatori[1] = frm.oraFrom
|
||||
ArrayEtichetteCampiObbligatori[1]= 'Ora di partenza'
|
||||
|
||||
|
||||
if (CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori))
|
||||
{
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//----------------------------------------//
|
||||
//Controllo FORM INSERIMENTO TASK
|
||||
//----------------------------------------//
|
||||
|
||||
function CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori)
|
||||
{
|
||||
for (var i=0; i < ArrayCampiObbligatori.length; i++)
|
||||
{
|
||||
if (ArrayCampiObbligatori[i].value == "")
|
||||
{
|
||||
alert('Errore.Inserire '+ArrayEtichetteCampiObbligatori[i])
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function ResetAllField(ArrayCampi)
|
||||
{
|
||||
for (var i=0; i < ArrayCampi.length; i++)
|
||||
{
|
||||
ArrayCampi[i].value = ""
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function checkAllFieldUtente(frm,action)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi obbligatori da controllare
|
||||
// ArrayCampiObbligatori = array dei campi obbligatori che devono essere controllati
|
||||
// ArrayEtichetteCampiObbligatori = array di etichette dei campi obbligatori
|
||||
|
||||
var ncampi=2;
|
||||
var ArrayCampiObbligatori = new Array(ncampi)
|
||||
var ArrayEtichetteCampiObbligatori = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampiObbligatori[0] = frm.user
|
||||
ArrayEtichetteCampiObbligatori[0]= 'User'
|
||||
ArrayCampiObbligatori[1] = frm.codiceprofilo
|
||||
ArrayEtichetteCampiObbligatori[1]= 'Descrizione del Profilo'
|
||||
|
||||
if (CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori))
|
||||
{
|
||||
//checkPassword(frm,action)
|
||||
// 1 - password vuota
|
||||
if (frm.password.value =='')
|
||||
{
|
||||
alert('Inserire una password di almeno '+frm.LENGTH_PASSWORD.value+' caratteri')
|
||||
return;
|
||||
}
|
||||
|
||||
var pwdLength=parseInt(frm.LENGTH_PASSWORD.value,10);
|
||||
// 2 - lunghezza minima parametrica
|
||||
if (frm.password.value.length <= pwdLength-1)
|
||||
{
|
||||
alert('Inserire una password di almeno '+frm.LENGTH_PASSWORD.value+' caratteri')
|
||||
frm.password.value=''
|
||||
return;
|
||||
}
|
||||
|
||||
// 3 - password con spazi bianchi
|
||||
if (frm.password.value.indexOf(' ') != -1)
|
||||
{
|
||||
alert ('Inserire una password senza spazi bianchi')
|
||||
frm.password.value='';
|
||||
return;
|
||||
}
|
||||
|
||||
// 4 - password differente dalla userID
|
||||
if (frm.password.value == frm.user.value)
|
||||
{
|
||||
alert ('Inserire una password differente dalla User')
|
||||
frm.password.value='';
|
||||
return;
|
||||
}
|
||||
|
||||
frm.JSP_FUNCTION.value = action;
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function resetAllFieldUtente(frm)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi da resettare
|
||||
// ArrayCampi = array dei campi che devono essere resettati
|
||||
|
||||
var ncampi=3;
|
||||
var ArrayCampi = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampi[0] = frm.user
|
||||
ArrayCampi[1] = frm.password
|
||||
ArrayCampi[2] = frm.codiceprofilo
|
||||
|
||||
ResetAllField(ArrayCampi)
|
||||
|
||||
}
|
||||
|
||||
function checkAllFieldTask(frm,action)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi obbligatori da controllare
|
||||
// ArrayCampiObbligatori = array dei campi obbligatori che devono essere controllati
|
||||
// ArrayEtichetteCampiObbligatori = array di etichette dei campi obbligatori
|
||||
|
||||
var ncampi=2;
|
||||
var ArrayCampiObbligatori = new Array(ncampi)
|
||||
var ArrayEtichetteCampiObbligatori = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampiObbligatori[0] = frm.Nome
|
||||
ArrayEtichetteCampiObbligatori[0]= 'Nome del Task'
|
||||
ArrayCampiObbligatori[1] = frm.Descrizione
|
||||
ArrayEtichetteCampiObbligatori[1]= 'Descrizione del Task'
|
||||
|
||||
if (CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori))
|
||||
{
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function resetAllFieldTask(frm)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi da resettare
|
||||
// ArrayCampi = array dei campi che devono essere resettati
|
||||
|
||||
var ncampi=3;
|
||||
var ArrayCampi = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampi[0] = frm.Nome
|
||||
ArrayCampi[1] = frm.Descrizione
|
||||
ArrayCampi[2] = frm.Note
|
||||
|
||||
ResetAllField(ArrayCampi)
|
||||
|
||||
}
|
||||
|
||||
//----------------------------------------//
|
||||
//Controlla la pagina PopUpListaIntervalli
|
||||
//----------------------------------------//
|
||||
|
||||
function checkElimina(frm,action,actionFlag)
|
||||
{
|
||||
|
||||
n=0;
|
||||
|
||||
if ((!frm.elementiLista.length >=2) || frm.elementiLista.checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista.value
|
||||
n=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
for (var i=0;i<frm.elementiLista.length;i++)
|
||||
{
|
||||
if (frm.elementiLista[i].checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista[i].value
|
||||
n=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (n==0)
|
||||
{
|
||||
alert('Selezionare un Intervallo ');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
|
||||
if (actionFlag =='Elimina')
|
||||
{
|
||||
if (!confirm('Confermi eliminazione Intervallo ?'))
|
||||
return;
|
||||
}
|
||||
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------//
|
||||
//Controlla la pagina PopUpProcessi
|
||||
//----------------------------------------//
|
||||
|
||||
function checkRadio(frm,action)
|
||||
{
|
||||
|
||||
n=0;
|
||||
|
||||
if ((!frm.elementiLista.length >=2) || frm.elementiLista.checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista.value
|
||||
n=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
for (var i=0;i<frm.elementiLista.length;i++)
|
||||
{
|
||||
if (frm.elementiLista[i].checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista[i].value
|
||||
n=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (n==0)
|
||||
{
|
||||
alert('Selezionare un Processo ');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
|
||||
if (!confirm('Confermi Operazione ?'))
|
||||
return;
|
||||
|
||||
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------//
|
||||
//Controlla il FORM INSERIMENTO PROCESSO
|
||||
//----------------------------------------//
|
||||
|
||||
function checkAllFieldProcesso(frm,action)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi obbligatori da controllare
|
||||
// ArrayCampiObbligatori = array dei campi obbligatori che devono essere controllati
|
||||
// ArrayEtichetteCampiObbligatori = array di etichette dei campi obbligatori
|
||||
|
||||
var ncampi=4;
|
||||
var ArrayCampiObbligatori = new Array(ncampi)
|
||||
var ArrayEtichetteCampiObbligatori = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampiObbligatori[0] = frm.Nome
|
||||
ArrayEtichetteCampiObbligatori[0]= 'Nome del Processo'
|
||||
ArrayCampiObbligatori[1] = frm.Descrizione
|
||||
ArrayEtichetteCampiObbligatori[1]= 'Descrizione del Processo'
|
||||
ArrayCampiObbligatori[2] = frm.Comando
|
||||
ArrayEtichetteCampiObbligatori[2]= 'Comando del Processo'
|
||||
ArrayCampiObbligatori[3] = frm.Parametri
|
||||
ArrayEtichetteCampiObbligatori[3]= 'Parametri del Processo'
|
||||
|
||||
if (CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori))
|
||||
{
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
function resetAllFieldProcesso(frm)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi da resettare
|
||||
// ArrayCampi = array dei campi che devono essere resettati
|
||||
|
||||
var ncampi=4;
|
||||
var ArrayCampi = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampi[0] = frm.Nome
|
||||
ArrayCampi[1] = frm.Descrizione
|
||||
ArrayCampi[2] = frm.Comando
|
||||
ArrayCampi[3] = frm.Parametri
|
||||
|
||||
ResetAllField(ArrayCampi)
|
||||
|
||||
}
|
||||
|
||||
function aggiorna(){
|
||||
timerID=setTimeout('buttonActionMenu(document.formCentrale,"4","Index.do")',20000);
|
||||
}
|
||||
|
||||
function aggiornaPresentazione(){
|
||||
timerID=setTimeout('buttonActionMenu(document.formCentrale,"5","Index.do")',20000);
|
||||
}
|
||||
|
||||
function aggiornaListaUtenti(){
|
||||
timerID=setTimeout('buttonActionMenu(document.formCentrale,"1","Amministrazione.do" )',20000);
|
||||
}
|
||||
|
||||
function checkAllFieldFile(frm,action)
|
||||
{
|
||||
|
||||
// ncampi = numero di campi obbligatori da controllare
|
||||
// ArrayCampiObbligatori = array dei campi obbligatori che devono essere controllati
|
||||
// ArrayEtichetteCampiObbligatori = array di etichette dei campi obbligatori
|
||||
|
||||
var ncampi=2;
|
||||
var ArrayCampiObbligatori = new Array(ncampi)
|
||||
var ArrayEtichetteCampiObbligatori = new Array(ncampi)
|
||||
|
||||
// Riempimento degli array
|
||||
|
||||
ArrayCampiObbligatori[0] = frm.nroMassimoRichieste
|
||||
ArrayEtichetteCampiObbligatori[0]= 'Numero massimo di richieste'
|
||||
ArrayCampiObbligatori[1] = frm.maxTempoAttesa
|
||||
ArrayEtichetteCampiObbligatori[1]= 'Massimo Tempo di attesa'
|
||||
|
||||
if (CheckCampiObbligatori(ArrayCampiObbligatori,ArrayEtichetteCampiObbligatori))
|
||||
{
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
frm.submit();
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------//
|
||||
//Controlla Elimina UTENTE
|
||||
//----------------------------------------//
|
||||
|
||||
function checkEliminaUtente(frm,action)
|
||||
{
|
||||
|
||||
n=0;
|
||||
stato='';
|
||||
|
||||
if ((!frm.elementiLista.length >=2) || frm.elementiLista.checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista.value
|
||||
stato=frm.modalitaLista.value
|
||||
n=1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
for (var i=0;i<frm.elementiLista.length;i++)
|
||||
{
|
||||
if (frm.elementiLista[i].checked)
|
||||
{
|
||||
frm.elementoChecked.value=frm.elementiLista[i].value
|
||||
stato=frm.modalitaLista[i].value
|
||||
n=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (n==0)
|
||||
{
|
||||
alert('Selezionare un Utente ');
|
||||
return;
|
||||
}
|
||||
|
||||
if (stato == 'Y')
|
||||
{
|
||||
alert('Non è possibile Eliminare un Utente Connesso.')
|
||||
return;
|
||||
}
|
||||
|
||||
if (!confirm('Confermi eliminazione UTENTE : '+frm.elementoChecked.value+' ?'))
|
||||
return;
|
||||
|
||||
frm.JSP_FUNCTION.value=action;
|
||||
frm.submit();
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
293
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/XMLConfigurazione.jsp
Normal file
293
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/XMLConfigurazione.jsp
Normal file
@@ -0,0 +1,293 @@
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants"%>
|
||||
<%@page import = "mnp.crontab.command.ManagerSession"%>
|
||||
<%@page import = "mnp.crontab.objects.am.FileInfo"%>
|
||||
<%@page import = "java.util.*"%>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.am.XMLObject" />
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<script language = "Javascript">
|
||||
function checkNumber(number)
|
||||
{
|
||||
|
||||
if (isNaN(number.value))
|
||||
{
|
||||
alert('Numero Errato');
|
||||
number.value='0';
|
||||
number.focus();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
<% ManagerSession aManagerSession = (ManagerSession) session.getAttribute(
|
||||
ApplicationManagerCostants.OBJECT_MANAGER_SESSION);
|
||||
String pathCfg = aManagerSession.getPath_file();
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_APPLICATION_MANAGER,ProfileConfig.XML_CONFIGURAZIONE);
|
||||
%>
|
||||
<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 SISTEMA GESTIONE XML </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="5" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">File: <%=pathCfg%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<p align='center'>
|
||||
|
||||
<table width = '50%' border='1' bordercolorlight="#000080" bordercolordark="#000080" height="219">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080" colspan="5" height="19">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF"> GENERAZIONE E INVIO FILE XML</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" height="19" width="90%" align="right"><font color="#D61414"><i>campi obbligatori</i></font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="5" bgcolor="#CCCCCC" height="22">
|
||||
<p align="center"><font color="#000080" size="4"><b><i>Dati Sistema XML</i></b></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="28%" bgcolor="#FFFFCC" height="23">
|
||||
<b><font color="#D61414">Abilitazione</font></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="15%" height="23">
|
||||
<p><b><i>Si</i></b></p>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" height="23">
|
||||
<input type="radio" value="Si" name="abilitazione" <% if (resultBean.isAbilitazione()) { %>checked <%}%> >
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" height="23">
|
||||
<b><i>No</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" height="23">
|
||||
<input type="radio" value="No" name="abilitazione" <% if (!resultBean.isAbilitazione()) { %>checked <%}%> >
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="43%" bgcolor="#FFFFCC" height="23">
|
||||
<b><font color="#D61414">Numero Massimo di Richieste</font></b>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width="42%" height="23" colspan="4">
|
||||
<input type="text" name="nroMassimoRichieste" maxlength="3" size="3" value="<%= resultBean.getNroRichieste()%>" onblur="checkNumber(document.formCentrale.nroMassimoRichieste)">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="28%" bgcolor="#FFFFCC" height="23">
|
||||
<b><font color="#D61414">Tempo Massimo di Attesa <i>(minuti)</i></font></b>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width="57%" height="23" colspan="4">
|
||||
<input type="text" name="maxTempoAttesa" size="3" value="<%= resultBean.getMaxTempoAttesa()%>" onblur="checkNumber(document.formCentrale.maxTempoAttesa)">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" height="19" colspan="5">
|
||||
<center>
|
||||
<TABLE nowrap width="30%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu"><A class="hmenu" href="javascript:checkAllFieldFile(document.formCentrale,<%= ApplicationManagerCostants.CMD_AGGIORNA_FILE_XML %>)"> Aggiorna
|
||||
Dati</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<table width = '100%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080" colspan="9">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">Tipologie File</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#FFFFCC" colspan="9">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align = "center" valign = "top" width="12%" bgcolor="#CCCCCC">
|
||||
<b><i>Nome</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" bgcolor="#CCCCCC" colspan="2">
|
||||
<b><i>Operatori Abilitati</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" bgcolor="#CCCCCC" colspan="2">
|
||||
<b><i>Schedulazione</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="22%" bgcolor="#CCCCCC" colspan="2">
|
||||
<b><i> Priorita' Acquisizione</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="22%" bgcolor="#CCCCCC" colspan="2">
|
||||
<b><i> Priorita' Spedizione</i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
ArrayList r = null;
|
||||
r = resultBean.getListaFile();
|
||||
for(int i=0; i<r.size();i++) {
|
||||
FileInfo FI = (FileInfo) r.get(i);
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td align = "center" valign = "center" width="12%">
|
||||
<b><%= FI.getNome()%></b>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width="7%">
|
||||
<%= FI.getLabelOperatori()%>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
<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_OPERATORE_XML %>,'<%= i%>','n')"> Modifica</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="7%">
|
||||
<%= FI.getLabelSchedulazione()%>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
<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_FILE_XML %>,'<%= i%>','n')"> Modifica</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
<td align = "left" valign = "center" width="15%">
|
||||
<%= FI.getLabelProcessiPrioritaIn()%>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
<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_PRIORITA_XML_IN %>,'<%= i%>','n')"> Modifica</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
<td align = "left" valign = "center" width="15%">
|
||||
<%= FI.getLabelProcessiPriorita()%>
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
<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_PRIORITA_XML %>,'<%= i%>','n')"> Modifica</A></TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</td>
|
||||
</tr>
|
||||
<% }%>
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td align = "center" valign = "top" width="12%">
|
||||
<b><a href="javascript:buttonActionMenu(document.formCentrale,<%= ApplicationManagerCostants.FNC_LISTA_FILE_ACK %>,'XMLCommand.do')">Lista File ACK</a></b>
|
||||
</td>
|
||||
<td align = "left" valign = "top" width="7%">
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="7%">
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="15%">
|
||||
</td>
|
||||
<td align = "center" valign = "center" width="7%">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(ApplicationManagerCostants.CMD_APPLY_ALL_XML)))
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE nowrap width="20%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu">
|
||||
<p align="center"><A title="Conferma tutte le modifiche apportate alle Liste per la gestione del XML" class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= ApplicationManagerCostants.CMD_APPLY_ALL_XML %>)"> Apply</A></p>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
<% } %>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
13
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/empty.jsp
Normal file
13
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/empty.jsp
Normal file
@@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
<%
|
||||
System.out.println("empty...");
|
||||
System.out.println("jsessionid="+session.getId());
|
||||
System.out.println("empty...");
|
||||
%>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user