#set($viewid = $context.getRequestParameter("viewid")) #set($viewpath = $context.getRequestParameter("viewpath")) #set( $moduleid = $context.findValue("module") ) #set($searchtype = $context.getRequestParameter("searchtype")) #if( !$searchtype) #set( $searchtype = $moduleid) #end #set($module = $searcherManager.getData($catalogid, "module", $moduleid ) ) #set($searcher = $searcherManager.getSearcher($catalogid,$module)) #set($details = $searcher.getDetailsForView("${moduleid}/${module.id}headerdetail")) #if($details.size() >0) #foreach($detail in $details) #set($val = $data.get($detail.id)) #if($detail.isList()) #set($val = $searcherManager.getData($catalogid, "${detail.id}", $val).getName()) #end #if($velocityCount == 1)

$module / $!val

#else

$!val

#end #set($val = "") #end #else #end Review Test Analyze