@Override
protected void populateItem(ListItem<Navimain> item) {
Navimain m = item.getModelObject();
final String name = m.getLabel().getValue();
final String desc = m.getTooltip().getValue();
final MenuActions action = MenuActions.valueOf(m.getAction());
final MenuParams params = m.getParams() != null ? MenuParams.valueOf(m.getParams()) : MenuParams.publicTabButton;
item.add(new AjaxLink<Void>("link") {
private static final long serialVersionUID = 5632618935550133709L;
{
add(new Label("name", name));