#set($cat = $context.findValue("category.value")) #if(!$cat) #set($cat = $context.findValue("catid")) #end #if(!$cat) #set($cat = $context.findValue("categoryid")) #end #if(!$cat) #set($cat = $context.findValue("category-exact.value")) #end #if($cat) #set($category = $mediaarchive.getCategory($cat)) #end