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

Summary

Details

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