<
From version < 2.19 >
edited by SuperUwe Trueggelmann
on 2022-09-28
To version < 2.5 >
edited by SuperUwe Trueggelmann
on 2022-09-28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,25 +7,21 @@
7 7   ArrayList lstEvalMethods = lstEvalMethod[][]
8 8   int i,j
9 9   String strListAllEval = ""
10 - String strCommand = "none"
10 + String strCommand
11 11   boolean boDebug = true
12 12  
13 +
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."}
16 + strCommand = request.get("butAction")?: "none"
17 + if (strCommand == null){
27 27   strCommand = "none"
28 28   intPageStatus = 0
20 + }
21 + else{
22 + strCommand = services.cleanStr.alphanum(strCommand)
23 + if (strCommand == "Calculate the Test Plan") {intPageStatus = 20}
24 + if (strCommand == "Create a new Test Plan") {intPageStatus = 40}
29 29   if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}
30 30   }
31 31  
© 2022 TruCert Assessment Services Inc.
V01-00