Examples of MenuBean


Examples of br.gov.serpro.ouvidoria.bean.MenuBean

    Collection lista = funcionalidade.getListaSubItem();
    for (Iterator iter = lista.iterator(); iter.hasNext();) {
      Funcionalidade subItem = (Funcionalidade) iter.next();
      if (subItem.getItemMenu().booleanValue()
          && funcionario.getListaFuncionalidade().contains(subItem)) {
        MenuBean itemMenu = new MenuBean(subItem.getDescricao(),
            subItem.getPath(), subItem.getPathImageHi(),
            subItem.getPathImageLo(), subItem.getImageWidth(),
            subItem.getOrdemItemMenu());
        itemMenu.setSubMenu(getSubMenu(funcionario, subItem));
        subMenu.add(itemMenu);
      }
    }
    return subMenu;
  }
View Full Code Here

Examples of br.gov.serpro.ouvidoria.bean.MenuBean

    for (Iterator iter = lista.iterator(); iter.hasNext();) {
      Funcionalidade funcionalidade = (Funcionalidade) iter.next();
      if (funcionalidade.getItemMenu().booleanValue()
          && funcionalidade.getItemPai() == null) {

        MenuBean item = new MenuBean(funcionalidade.getDescricao(),
            funcionalidade.getPath(),
            funcionalidade.getPathImageHi(),
            funcionalidade.getPathImageLo(),
            funcionalidade.getImageWidth(),
            funcionalidade.getOrdemItemMenu());

        item.setSubMenu(getSubMenu(funcionario, funcionalidade));

        menu.add(item);

      }
    }
View Full Code Here

Examples of com.centraview.common.menu.MenuBean

  {
    String dataSource = Settings.getInstance().getSiteInfo(CVUtility.getHostName(super.getServlet().getServletContext())).getDataSource();

    String forward = "customerFileDetail";
    // set up the left nav menu
    request.setAttribute("cvMenu", new MenuBean("Files", new ArrayList()));

    HttpSession session = request.getSession();
    UserObject userObject = (UserObject)session.getAttribute("userobject");

    int individualID = userObject.getIndividualID();    // logged in user
View Full Code Here

Examples of com.centraview.common.menu.MenuBean

    // set up the left nav menu
    ArrayList menuList = new ArrayList();
    menuList.add(new MenuItem("Tickets", "TicketList.do", false));
    menuList.add(new MenuItem("FAQ", "FAQList.do", false));
    menuList.add(new MenuItem("Knowledgebase", "KBList.do", true));
    request.setAttribute("cvMenu", new MenuBean("Support", menuList));

    HttpSession session = request.getSession();
    UserObject userObject = (UserObject)session.getAttribute("userobject");

    int individualID = userObject.getIndividualID();    // logged in user
View Full Code Here

Examples of com.centraview.common.menu.MenuBean

    MenuItem faqMenuItem = new MenuItem("FAQ", "FAQList.do", false);
    menuList.add(faqMenuItem);
    MenuItem kbMenuItem = new MenuItem("Knowledgebase", "KBList.do", true);
    menuList.add(kbMenuItem);

    request.setAttribute("cvMenu", new MenuBean("Support", menuList));

    HttpSession session = request.getSession();
    UserObject userObject = (UserObject)session.getAttribute("userobject");

    int individualID = userObject.getIndividualID();    // logged in user
View Full Code Here

Examples of com.centraview.common.menu.MenuBean

    MenuItem paymentMenuItem = new MenuItem("Payment History", "PaymentList.do", false);
    ArrayList menuList = new ArrayList();
    menuList.add(orderMenuItem);
    menuList.add(invoiceMenuItem);
    menuList.add(paymentMenuItem);
    MenuBean invoiceMenu = new MenuBean("Accounting", menuList);
    request.setAttribute("cvMenu", invoiceMenu);

    HttpSession session = request.getSession();
    UserObject userObject = (UserObject)session.getAttribute("userobject");
View Full Code Here

Examples of com.centraview.common.menu.MenuBean

    MenuItem paymentMenuItem = new MenuItem("Payment History", "PaymentList.do", true);
    ArrayList menuList = new ArrayList();
    menuList.add(orderMenuItem);
    menuList.add(invoiceMenuItem);
    menuList.add(paymentMenuItem);
    MenuBean paymentMenu = new MenuBean("Accounting", menuList);
    request.setAttribute("cvMenu", paymentMenu);

    HttpSession session = request.getSession();
    UserObject userObject = (UserObject)session.getAttribute("userobject");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.