#set( $moduleid = $context.findValue("searchtype") ) #set($resulttype = $userprofile.get("${moduleid}-display")) #if(!$resulttype) #set($resulttype = "table") #end $pages.include("/${content.searchhome}/results/types/${resulttype}.html",$context)