#set( $moduleid = $context.findValue("module") ) $context.putPageValue("caneditlists","false") #set( $searchhome = $context.findValue("searchhome") ) #set( $view = "product/productworksheet")
#set( $searcher = $searcherManager.getSearcher("$content.catalogid", "product") ) $context.putPageValue("view", "product/productadvancedsearch") $context.putPageValue("searcher", $searcher) #set($usestartswith = $page.isPropertyTrue('usestartswith')) $context.putPageValue("usestartswith",$usestartswith)
##We need 2 things passed in: $searcher, $view or $searcher $details #if (!$details && $userprofile) #set ($details = $searcher.getDetailsForView($view, $userprofile)) #else #set ($details = $searcher.getDetailsForView($view)) #end #foreach( $detail in $details) $context.putPageValue("detail", $detail) #if ($detail.isLeaf()) $pages.include("/${applicationid}/components/advancedsearch/detailedit.html", $context) #else $pages.include("/${applicationid}/components/advancedsearch/section.html", $context) #end #end
#set ($resultview = $userprofile.get('resultview')) #if( !$resultview ) #end