#set ($catalogid = $context.getRequestParameter('catalogid')) #set ($searchtype = $context.getRequestParameter('searchtype')) ##product #set ($fieldname = $context.getRequestParameter('fieldname')) ##lastmodified #set( $fid = $detail.getId() ) #set ($listid = $detail.get("listid") ) #if(!$listid || $listid =="") #set ($listid = $detail.getId() ) #end #set( $lsearcher = $searcherManager.getSearcher($detail.getCatalogId($catalogid), $listid)) #set($current = $data.get($fid)) #set($param = ${fid} + '.value') #set($fromrequest = $context.getRequestParameters(${param})) #set( $types = $lsearcher.getAllHits() )
#set($replacewith = $type.replacewith)
#if($replacewith && $replacewith != "")
$!data.get($replacewith)
#else
$types.get($key)
#end
Search: