#if(!$details) #set( $view = "${hits.getSearchType()}/${hits.getSearchType()}resultstable" ) #set ($details = $hits.getSearcher().getDetailsForView($view, $userprofile)) #end #set( $searchhome = "$home$apphome/components/table") #set($resultsLink = "${searchhome}/results.html?hitssessionid=$hits.sessionId&searchtype=$hits.getSearchType()&hitsperpage=$!hits.hitsPerPage&oemaxlevel=1") #set($targetdiv = "resultsdiv")
$pages.include("${apphome}/components/table/pages.html", $context) #set( $edit = $context.getRequestParameter("editheader")) #if( !$edit || $edit == "false") #set( $edit = false) #end
#if( $canedittablecolumns )
#if( !$edit ) #else
#set ($alldetails = $searcher.getUserPropertyDetails() )
#end
#end
#set( $xmledithome = "$apphome/components/xml")
#set( $sortby = $hits.getSearchQuery().getSortBy() ) #set( $edit = $context.getRequestParameter("editheader")) #if( !$edit || $edit == "false") #set( $edit = false) #end #foreach( $detail in $details ) #end #foreach( $hit in $hits.getPageOfHits() ) #foreach( $detail in $details) #end #end
#text( $detail.name ) #if( $edit) #elseif ($sortby.startsWith($detail.getId())) #if($sortby.endsWith("Up")) #set($sorticon="top") #else #set($sorticon="bottom") #end     #end
#set( $val = "$!hit.get($detail.id)" ) ##TODO: Get rid of this #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)
#if( $hits.size() == 0 ) [[No results found]] #end