#set( $searcher = $mediaarchive.getSearcher("category") ) $context.putPageValue("searcher",$searcher) #set ($details = $searcher.getDetailsForView("category/searchcategoryresults", $userprofile)) $context.putPageValue("details",$details) $context.putPageValue("clickpath","$apphome/views/categories/") $context.putPageValue("viewpostfix",".html")
#set( $xmledithome = "$apphome/components/xml") #set( $action = $context.getRequestParameter("actionurl") ) #set( $targetdiv = $context.getRequestParameter("targetdiv") )
#foreach( $detail in $details ) #end #foreach( $hit in $hits.getPageOfHits() ) #foreach( $detail in $details) #if( ${foreach.count} == 1) #end #end
$detail.text
#else #end #set( $val = "$!hit.get($detail.id)" ) #if($detail.render) #set( $val = $searcherManager.getValue($catalogid, $detail.render, $hit.properties)) #end $context.putPageValue("detail",$detail) $context.putPageValue("val",$val) $pages.include("$xmledithome/detailreadonly.html", $context)
$pages.include("./pages.html",$context)