#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 #else ##leagacy check. We used to pass in the $details #if( !$details) #set ($details = $searcher.getPropertyDetails()) #end #end #if( !$details) [[Not view defined on]]: $view #end #if(!$detailviewercolumns) #set($detailviewercolumns = 2) #end #set($detailviewercolumnclass = "col-md-6") #if($detailviewercolumns == 1) #set($detailviewercolumnclass = "col-md-12") #end
#foreach( $detail in $details ) $!context.putPageValue("detail",$detail) #if ($detail.header)
  • #if ($detail.header != "blank")

    $detail.header

    #end
  • #end #set($val = false) #set( $val = $data.get($detail.getId()) ) #if( $val && $val.length() > 0 )
    $!context.putPageValue("val",$val) $context.putPageValue("showalllanguagevalues",true) $!context.putPageValue("detail",$detail) $pages.include("$apphome/components/xml/detailreadonly.html", $context)
    #end #end