#if ( $hits.size() == 0 ) [[No results found]] #else #if(!$view) #set($view = $context.getRequestParameter("view")) $context.putPageValue("hits", $hits) $context.putPageValue("searcher", $searcher) $context.putPageValue("view", $view) #end #set( $resultdetail = $searcher.getDetailsForView("$view", $userprofile)) ##set ( $canedit = $context.getPageValue("${moduleid}edit") )
#if($content.isPropertyTrue("showactions")) #end #set( $sortby = $hits.getSearchQuery().getSortBy() ) #foreach( $detail in $resultdetail ) #end #set( $even = true ) #set($count = 0) #foreach ( $cell in $hits.getPageOfHits() ) $context.putPageValue('data', $cell) $context.putPageValue('cell', $cell) #if($content.isPropertyTrue("showactions")) #end #foreach( $detail in $resultdetail ) #end #set($count = $count + 1) #end
#text( $detail.text ) #if( $edit) #elseif ($sortby.startsWith($detail.getId())) #if($sortby.endsWith("Up")) #set($sorticon="up") #else #set($sorticon="down") #end     #end
$context.putPageValue('val', $!cell.get($detail.id)) $context.putPageValue('detail', $detail) $pages.include("$apphome/components/moduleresults/cell.html", $context)
#if($content.isPropertyTrue("showactions")) ##
$pages.include("$apphome/components/moduleresults/selections/togglepage.html")
#end
#end ## $pages.include("$apphome/components/moduleresults/actions.html", $context)