#set($cat = $context.findValue("category.value")) #if(!$cat) #set($cat = $context.findValue("catid")) #end #if(!$cat) #set($cat = $context.findValue("categoryid")) #end #if(!$cat) #set($cat = $context.findValue("category-exact.value")) #end #if($cat) #set($searchtype = $context.findPathValue("categorysearchtype")) #set($searcher = $testbench.getSearcher($searchtype)) #set($category = $searcher.getCategory($cat)) $context.putPageValue("category", $cat) #set($data = $category) $context.putPageValue("searcher", $searcher) $context.putPageValue("view", "$searchtype/${searchtype}edit") $context.putPageValue("data", $data)

$data

$pages.include("$apphome/components/xml/detaileditor.html", $context)
$pages.include("$content.searchhome/emtree/createfoldertree.html", $context)
$pages.include("$apphome/components/categories/actions.html", $context)
#end