Package org.projectforge.web

Examples of org.projectforge.web.Menu


    }
    setNoBackButton();
    final ListViewPanel listViewPanel = new ListViewPanel("menu");
    pageContainer.add(listViewPanel);
    listViewPanel.add(new ListViewItemPanel(listViewPanel.newChildId(), getString("menu.main.title")).setListDivider());
    final Menu menu = menuBuilder.getMobileMenu(PFUserContext.getUser());
    if (menu.getMenuEntries() != null) {
      for (final MenuEntry menuEntry : menu.getMenuEntries()) {
        if (menuEntry.isVisible() == true) {
          listViewPanel.add(new ListViewItemPanel(listViewPanel.newChildId(), menuEntry.getMobilePageClass(), getString(menuEntry
              .getI18nKey())));
        }
      }
View Full Code Here

TOP

Related Classes of org.projectforge.web.Menu

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.