$context.putPageValue("details",$details)
$context.putPageValue("clickpath","$apphome/views/assets/")
$context.putPageValue("viewpostfix",".html")
#set($resultsLink = "$componenthome/results.html?hitssessionid=$hits.sessionId&searchtype=$hits.getSearchType()&hitsperpage=$!hits.hitsPerPage&oemaxlevel=1&viewid=$!viewid")
#set($targetdiv = "dialogsearchresults")
#set( $edit = $context.getRequestParameter("editheader"))
#if( !$edit || $edit == "false")
#set( $edit = false)
#end
|
#if( !$edit )
$pages.include("./pages.html", $context)
#end
|
#if( $canedittablecolumns )
#if( !$edit )
#else
#set ($alldetails = $searcher.getUserPropertyDetails() )
#end
#end
|
#set( $xmledithome = "$apphome/components/xml")
#set( $action = $context.getRequestParameter("actionurl") )
#set( $sortby = $hits.getSearchQuery().getSortBy() )
#foreach( $hit in $hits.getPageOfHits() )
$context.putPageValue("hit", $hit)
|
$pages.include("$apphome/components/results/thumbnails/small.html",$context)
|
#foreach( $detail in $details)
#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)
$!context.putPageValue("data",$hit)
$pages.include("$xmledithome/detailreadonly.html", $context)
|
#end
#end