item.add(new ListView<Navimain>("childItem", gl.getMainnavi()) {
private static final long serialVersionUID = 3609635268338379087L;
@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;
final String hash = getHash(action, params);
item.add(new AjaxLink<Void>("link") {
private static final long serialVersionUID = 5632618935550133709L;
{
add(new Label("name", name));