#set($contextpath = $result.getResourceUrl() ) #set($lastIndex = $contextpath.lastIndexOf("path=") + 5 ) #if($lastIndex>=0) #set($minone=$contextpath.length() - 1) #set($contextpath = $contextpath.substring($lastIndex,$minone) ) #end $result.title $r.translate("metadata.show")
#if ($highlight && !$result.highlightResult.equals(""))
$result.highlightResult
#end #if ($result.parentContextName && $result.parentContextName != "")
$r.translate("label.search.result.parent.context"): $r.translate("$result.parentContextType") "$result.parentContextName"
#end