#set( $xmledithome = $context.getPageProperty("xmledithome"))
#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($showcheckbox)
#else
#end
$pages.include("$xmledithome/types/${viewtype}.html", $context)