#ifnull($xmledithome) #set( $xmledithome = $context.getPageProperty("xmledithome")) #end #if($detail.dataType == "searchjoin" ) #set ($viewtype = "searchjoin" ) #else #set ($viewtype = $detail.viewType) #end #if (!$viewtype) #set ($viewtype = $detail.dataType) #end #if (!$viewtype || $viewtype== "text") #set ($viewtype = "default") #end #if($detail.isEditable())