#set($moduleid = $context.findValue("module")) #set($defaultview = $userprofile.getDefaultViewForModule($moduleid)) #set($searchhome = $context.findValue("searchhome")) #set($resulttype = $userprofile.get("${moduleid}resultview")) #if(!$resulttype) #set($resulttype = "table") #end