First Commit - Source Code from Reply
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user