diff --git a/INTERFACE/WebLCP/BaseUserControl.cs b/INTERFACE/WebLCP/BaseUserControl.cs
index 4924b68..3d1816a 100644
--- a/INTERFACE/WebLCP/BaseUserControl.cs
+++ b/INTERFACE/WebLCP/BaseUserControl.cs
@@ -1,11 +1,6 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-
-namespace WebLCP
+namespace WebLCP
{
- public class BaseUserControl
+ public class BaseUserControl : SteamWare.UserControl
{
}
}
\ No newline at end of file
diff --git a/INTERFACE/WebLCP/JobsList.aspx b/INTERFACE/WebLCP/JobsList.aspx
index 1c34ba4..35b23c3 100644
--- a/INTERFACE/WebLCP/JobsList.aspx
+++ b/INTERFACE/WebLCP/JobsList.aspx
@@ -13,6 +13,8 @@
diff --git a/INTERFACE/WebLCP/JobsList.aspx.cs b/INTERFACE/WebLCP/JobsList.aspx.cs
index 90fd9a5..987bd3b 100644
--- a/INTERFACE/WebLCP/JobsList.aspx.cs
+++ b/INTERFACE/WebLCP/JobsList.aspx.cs
@@ -1,6 +1,82 @@
-namespace WebLCP
+using SteamWare;
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace WebLCP
{
public partial class JobsList : BaseUserPage
{
+ protected override void Page_Load(object sender, EventArgs e)
+ {
+ base.Page_Load(sender, e);
+
+ if (!Page.IsPostBack)
+ {
+ lblOutError.Visible = false;
+ lblOutSuccess.Visible = false;
+ }
+
+ mod_startJob.eh_ucev += Mod_startJob_eh_ucev;
+ }
+
+ private void Mod_startJob_eh_ucev(object sender, EventArgs e)
+ {
+ // se trovo evento select/reset mostro/nascondo dettagli...
+ ucEvent evento = (ucEvent)e;
+ switch (evento.tipoEvento)
+ {
+ case ucEvType.Delete:
+ break;
+ case ucEvType.Edit:
+ break;
+ case ucEvType.New:
+ break;
+ case ucEvType.Reset:
+ break;
+ case ucEvType.ReqUpdateParent:
+ // leggo errori e successi attivi...
+ Dictionary ctrError = mod_startJob.ctrError;
+ Dictionary ctrSuccess = mod_startJob.ctrSuccess;
+
+ // se ho errori mostro!
+ if (ctrError.Count > 0)
+ {
+ lblOutError.Visible = true;
+ // compongo output
+ StringBuilder sb = new StringBuilder();
+ sb.Append("------------------------------------
");
+ sb.Append("Error: fileCheck not passed!
");
+ sb.Append("------------------------------------
");
+ foreach (var item in ctrError)
+ {
+ sb.Append($"- {item.Key}: {item.Value}
");
+ }
+ sb.Append("------------------------------------
");
+ lblOutError.Text = sb.ToString();
+ }
+ else if(ctrSuccess.Count>0)
+ {
+ lblOutSuccess.Visible = true;
+ // compongo output
+ StringBuilder sb = new StringBuilder();
+ sb.Append("------------------------------------
");
+ sb.Append("SUCCESS: fileCheck OK!
");
+ sb.Append("------------------------------------
");
+ foreach (var item in ctrSuccess)
+ {
+ sb.Append($"- {item.Key}: {item.Value}
");
+ }
+ sb.Append("------------------------------------
");
+ lblOutSuccess.Text = sb.ToString();
+ }
+
+ break;
+ case ucEvType.Selected:
+ break;
+ default:
+ break;
+ }
+ }
}
}
\ No newline at end of file
diff --git a/INTERFACE/WebLCP/JobsList.aspx.designer.cs b/INTERFACE/WebLCP/JobsList.aspx.designer.cs
index befb814..70c8388 100644
--- a/INTERFACE/WebLCP/JobsList.aspx.designer.cs
+++ b/INTERFACE/WebLCP/JobsList.aspx.designer.cs
@@ -21,6 +21,24 @@ namespace WebLCP {
///
protected global::WebLCP.WUC.mod_startJob mod_startJob;
+ ///
+ /// Controllo lblOutError.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblOutError;
+
+ ///
+ /// Controllo lblOutSuccess.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblOutSuccess;
+
///
/// Controllo mod_jobsList.
///
diff --git a/INTERFACE/WebLCP/WIP.aspx b/INTERFACE/WebLCP/WIP.aspx
index dfca143..d817bc3 100644
--- a/INTERFACE/WebLCP/WIP.aspx
+++ b/INTERFACE/WebLCP/WIP.aspx
@@ -9,12 +9,11 @@
www.admodelling.org
-
-
+
+
-
diff --git a/INTERFACE/WebLCP/WUC/mod_startJob.ascx b/INTERFACE/WebLCP/WUC/mod_startJob.ascx
index 80f005e..cc9a66e 100644
--- a/INTERFACE/WebLCP/WUC/mod_startJob.ascx
+++ b/INTERFACE/WebLCP/WUC/mod_startJob.ascx
@@ -6,31 +6,37 @@