#set($xmledithome = $context.getPageProperty("xmledithome")) $context.putPageValue("xmledithome",$xmledithome) #set($viewtype = $detail.viewType) #ifnull($viewtype) #set($viewtype = $detail.dataType) #end #if (!$viewtype || $viewtype == "text" || $viewtype == "tageditor") #set ($viewtype = "default") #elseif($detail.isList()) #set ($viewtype = "entity") #end $detail.getText($context): $pages.include("$xmledithome/typesplaintext/${viewtype}.html", $context)