Search in sources :

Example 1 with LocalePanel

use of com.evolveum.midpoint.web.component.menu.top.LocalePanel in project midpoint by Evolveum.

the class PageBase method initHeaderLayout.

private void initHeaderLayout(WebMarkupContainer container) {
    WebMarkupContainer menuToggle = new WebMarkupContainer(ID_MENU_TOGGLE);
    menuToggle.add(createUserStatusBehaviour());
    container.add(menuToggle);
    UserMenuPanel rightMenu = new UserMenuPanel(ID_RIGHT_MENU);
    rightMenu.add(createUserStatusBehaviour());
    container.add(rightMenu);
    LocalePanel locale = new LocalePanel(ID_LOCALE);
    container.add(locale);
}
Also used : UserMenuPanel(com.evolveum.midpoint.web.component.menu.UserMenuPanel) WebMarkupContainer(org.apache.wicket.markup.html.WebMarkupContainer) TransparentWebMarkupContainer(org.apache.wicket.markup.html.TransparentWebMarkupContainer) LocalePanel(com.evolveum.midpoint.web.component.menu.top.LocalePanel)

Aggregations

UserMenuPanel (com.evolveum.midpoint.web.component.menu.UserMenuPanel)1 LocalePanel (com.evolveum.midpoint.web.component.menu.top.LocalePanel)1 TransparentWebMarkupContainer (org.apache.wicket.markup.html.TransparentWebMarkupContainer)1 WebMarkupContainer (org.apache.wicket.markup.html.WebMarkupContainer)1