#if( !$xmledithome) #set( $xmledithome = $context.getPageProperty("xmledithome")) #end #set( $id = $detail.getId() ) #if( $id && $id.length() > 0 ) #set( $index = $id.indexOf(".") ) #set( $table = $id.substring(0,$index) ) #set( $index = $index + 1) #set( $column = $id.substring($index) ) #end #set( $newsearcher = $searcherManager.getSearcher($catalogid,$table) ) $context.putPageValue("searcher",$newsearcher) #set( $newdetail = $newsearcher.getDetail($column) ) $context.putPageValue("detail",$newdetail) #set ($viewtype = $newdetail.viewType) #if( $data) #if( $detail.render ) #set($val = $searcherManager.getValue($newdetail.getListCatalogId(), $detail.render, $data.properties)) #else #set($val = $data.name) #end $context.putPageValue("val",$val) #end #if (!$viewtype) #set ($viewtype = $newdetail.dataType) #end #if (!$viewtype || $viewtype== "text") #set ($viewtype = "default") #end $pages.include("$xmledithome/typesreadonly/${viewtype}.html", $context)