#if($test) #if(!$test.isComplete()) #set($node = $test.getCurrentNode()) #set($question = $test.getCurrentQuestion()) #set($questionno = $test.getNodes().indexOf($node) + 1) #set($qtype = $mediaarchive.getData("questiontype", $question.questiontype)) #set($questiontype = $node.question.questiontype) #set($responseinfo = $testbench.getSearcher("responsetracker").query().match("user", $user.id).match("questionid", $question.id).match("planid", $testplan.id).searchOne()) $context.putPageValue("node", $node) $context.putPageValue("question", $question) $context.putPageValue("responseinfo", $responseinfo)
#else$pages.include("$apphome/test/results/results.html")
#end #elseNo test is loaded.
#end #set($channel = $testbench.getBenchServer().getPrivateQuestionChannel($catalogid, $user.getId(), $question.getId()))