Changes for page Card Service Life Test Plan WebTool
Last modified by SuperUwe Trueggelmann on 2022-09-28
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -8,24 +8,21 @@ 8 8 int i,j 9 9 String strListAllEval = "" 10 10 String strCommand 11 - boolean boDebug = true 12 12 13 13 14 14 boolean doTH = false 15 15 16 - strCommand = request.get("butAction")?: 'none' 17 - if (strCommand){ 18 - if(boDebug){println strCommand + " received."} 15 + strCommand = request.get("butAction")?: "none" 16 + if (strCommand == null){ 17 + strCommand = "none" 18 + intPageStatus = 0 19 + } 20 + else{ 19 19 strCommand = services.cleanStr.alphanum(strCommand) 20 20 if (strCommand == "Calculate the Test Plan") {intPageStatus = 20} 21 21 if (strCommand == "Create a new Test Plan") {intPageStatus = 40} 22 - if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}24 +// println strCommand + " received, pagestatus = " + intPageStatus 23 23 } 24 - else{ 25 - strCommand = "none" 26 - intPageStatus = 0 27 - if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus} 28 - } 29 29 30 30 // PageStatus == 0: Starting, no parameters queried 31 31 // PageStatus == 10: Some parameters provided, but impossible to create the plan