#set($new = $context.getRequestParameter("new")) #set($responseid = $context.getRequestParameter("responseid")) #if($new == 'true') #set($data = "") #else #if($responseid) #set($response = $question.getResponse($responseid)) #end #end #if($response) $context.putPageValue("data", $response ) #end #set ( $searcher = $searcherManager.getSearcher(${testbenchid}, "response")) $context.putPageValue("searcher", $searcher ) $context.putPageValue("view", "response/responses") $context.putPageValue("searchtype", "response") $context.putPageValue("catalogid", $testbenchid) $pages.include("$apphome/components/xml/detaileditor.html", $context)