#set( $xmledithome = $context.getPageProperty("xmledithome")) #set( $readonly = "false" ) #set( $readonly = $context.getRequestParameter("detailsreadonly")) ##We need 3 things passed in: $searcher, $view, $data #if (!$details && $view) #if( $context.getUserProfile() ) #set ($details = $searcher.getDetailsForView($view, $context.getUserProfile())) #else #set ($details = $searcher.getDetailsForView($view)) #end #end #if( !$details) ##[[404 on view]]: $searcher.getCatalogId() $searcher.getSearchType() $view #end ##leagacy check. We used to pass in the $details #if( !$details) #set ( $details = $searcher.getPropertyDetails() ) #end