Last modified by SuperUwe Trueggelmann on 2022/09/28 17:35

From version 2.13
edited by SuperUwe Trueggelmann
on 2022/09/28 17:17
Change comment: There is no comment for this version
To version 2.19
edited by SuperUwe Trueggelmann
on 2022/09/28 17:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,21 +7,23 @@
7 7   ArrayList lstEvalMethods = lstEvalMethod[][]
8 8   int i,j
9 9   String strListAllEval = ""
10 - String strCommand
10 + String strCommand = "none"
11 11   boolean boDebug = true
12 12  
13 -
14 14   boolean doTH = false
15 15  
15 + if(boDebug){println "strCommand is '" + strCommand + "'."}
16 16   strCommand = request.get("butAction")?: 'none'
17 17   if (strCommand){
18 - if(boDebug){println "'" + strCommand + "' received."}
18 + if(boDebug){println "strCommand is '" + strCommand + "'."}
19 19  // strCommand = services.cleanStr.alphanum(strCommand)
20 + if(boDebug){println services.cleanStr.alphanum("SomeText")}
20 20   if (strCommand == "Calculate the Test Plan") {intPageStatus = 20}
21 21   if (strCommand == "Create a new Test Plan") {intPageStatus = 40}
22 22   if(boDebug){println "'" + strCommand + "' received, pagestatus = " + intPageStatus}
23 23   }
24 24   else{
26 + if(boDebug){println "strCommand is null."}
25 25   strCommand = "none"
26 26   intPageStatus = 0
27 27   if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}