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