%if(!isEmpty(path)){ var secondMenus=@shiro.getPrincipalProperty('secondMenus'); %> <% for(firstMenu in @secondMenus.get(perpath)){ %>