#set( $xmledithome = $context.getPageProperty("xmledithome")) $context.putPageValue("xmledithome",$xmledithome) #set( $readonly = "false" ) #set( $readonly = $context.getRequestParameter("detailsreadonly")) ##We need 3 things passed in: $searcher, $viewid, $data #ifnull($viewid) #set($viewid = $context.getRequestParameter("viewid")) #end #ifnull($details) #set( $viewdata = $mediaarchive.getCachedData("view",$viewid) ) #set ($details = $viewdata.getDetailsForView($context.getUserProfile())) #end #ifnull($details) #set ($details = $searcher.getDetailsForView($viewid, $context.getUserProfile())) #end #ifnull($details) No viewdata found for $viewid at $content.path #end