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