#set($idcount = $context.getRequestParameter("idcount")) #if(!$idcount) #set($idcount = "") #end #if(!$val) #set($val = $context.getRequestParameter('assetid')) #end #if($val && $val != "") #set( $foundrow = $mediaarchive.getAsset($val) ) #end #if($val && $val!="" && $foundrow && !$context.getRequestParameter("readonly") == "true") #end #set( $type = $mediaarchive.getMediaRenderType($foundrow.fileFormat)) $context.putPageValue("cell", $foundrow) $context.putPageValue("hit", $foundrow) $context.putPageValue("showdetails", "false") $context.putPageValue("thumbsize", "thumb") #set( $sourcepath = $foundrow.sourcePath ) ##$pages.include("${apphome}/components/results/thumbnails/${type}.html", $context) #if( $type == "audio") $foundrow.name #end