public WebMenuItem getMenuItem ( String menuName , String path ) { try { return menuItemPaths . get ( menuName ) . get ( path ) ; } catch ( Exception e ) { log . error ( "Error when getting menu item for: menuName='" + menuName + "', path='" + path + "'" , e ) ; return null ; } }
Get the menu item by menu and path