use of org.devgateway.ocds.forms.wicket.page.list.ListMyDashboardsPage in project ocvn by devgateway.
the class BasePage method newMyDashboardsMenu.
protected NavbarButton<ListMyDashboardsPage> newMyDashboardsMenu() {
// home
NavbarButton<ListMyDashboardsPage> menu = new NavbarButton<>(ListMyDashboardsPage.class, this.getPageParameters(), new ResourceModel("mydashboards"));
menu.setIconType(GlyphIconType.filter);
MetaDataRoleAuthorizationStrategy.authorize(menu, Component.RENDER, SecurityConstants.Roles.ROLE_PROCURING_ENTITY);
return menu;
}
use of org.devgateway.ocds.forms.wicket.page.list.ListMyDashboardsPage in project oc-explorer by devgateway.
the class BasePage method newMyDashboardsMenu.
protected NavbarButton<ListMyDashboardsPage> newMyDashboardsMenu() {
// home
NavbarButton<ListMyDashboardsPage> menu = new NavbarButton<>(ListMyDashboardsPage.class, this.getPageParameters(), new ResourceModel("mydashboards"));
menu.setIconType(GlyphIconType.filter);
MetaDataRoleAuthorizationStrategy.authorize(menu, Component.RENDER, SecurityConstants.Roles.ROLE_PROCURING_ENTITY);
return menu;
}
Aggregations