public MenuPanel(String id) {
super(id);
setMarkupId(id);
final NavigationDao man = Application.getBean(NavigationDao.class);
add(new ListView<Naviglobal>("mainItem", man.getMainMenu(AuthLevelUtil.hasAdminLevel(WebSession.getRights()), WebSession.getUserId(), WebSession.getLanguage())) {
private static final long serialVersionUID = 2173926553418745231L;
@Override
protected void populateItem(ListItem<Naviglobal> item) {
Naviglobal gl = item.getModelObject();