<
From version < 2.2 >
edited by SuperUwe Trueggelmann
on 2022-07-02
To version < 2.8 >
edited by SuperUwe Trueggelmann
on 2022-09-28
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,21 +7,25 @@
7 7   ArrayList lstEvalMethods = lstEvalMethod[][]
8 8   int i,j
9 9   String strListAllEval = ""
10 + String strCommand
11 + boolean boDebug = true
10 10  
11 11  
12 12   boolean doTH = false
13 13  
14 - def strCommand = request.get("butAction")
15 - if (strCommand == null){
16 - strCommand = "none"
17 - intPageStatus = 0
18 - }
19 - else{
20 - strCommand = services.cleanStr.alphanum(strCommand)
16 + strCommand = request.get("butAction")?: 'none'
17 + if (strCommand){
18 + if(boDebug){println strCommand + " received."}
19 +// strCommand = services.cleanStr.alphanum(strCommand)
21 21   if (strCommand == "Calculate the Test Plan") {intPageStatus = 20}
22 22   if (strCommand == "Create a new Test Plan") {intPageStatus = 40}
23 -// println strCommand + " received, pagestatus = " + intPageStatus
22 + if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}
24 24   }
24 + else{
25 + strCommand = "none"
26 + intPageStatus = 0
27 + if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}
28 + }
25 25  
26 26  // PageStatus == 0: Starting, no parameters queried
27 27  // PageStatus == 10: Some parameters provided, but impossible to create the plan
© 2022 TruCert Assessment Services Inc.
V01-00