add(new ListView("leftMenuItem", leftMenu) {
@Override
protected void populateItem(ListItem item) {
MenuItem menuItem = (MenuItem) item.getModelObject();
Leaf leaf = menuItem.getFirstLeaf();
if(leaf != null) {
Class<Page> pageClass = leaf.getPageClass();
try {
Link link = linkFactory.getLink("leftMenuLink", new PageTarget(pageClass));
link.add(new Label("leftMenuSign", menuService.getTitle(menuItem)).setEscapeModelStrings(false));