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

Summary

Details

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