Package com.gitblit.wicket.panels

Examples of com.gitblit.wicket.panels.NavigationPanel


    // register the available page links for this page and user
    registeredPages = registerPages();

    // standard page links
    List<PageRegistration> pages = new ArrayList<PageRegistration>(registeredPages.values());
    NavigationPanel navigationPanel = new NavigationPanel("repositoryNavPanel", getRepoNavPageClass(), pages);
    add(navigationPanel);

    add(new ExternalLink("syndication", SyndicationServlet.asLink(getRequest()
        .getRelativePathPrefixToContextRoot(), repositoryName, null, 0)));
View Full Code Here


      if (!authenticateView || (authenticateView && GitBlitWebSession.get().isLoggedIn())) {
        addDropDownMenus(pages);
      }
    }

    NavigationPanel navPanel = new NavigationPanel("navPanel", getRootNavPageClass(), pages);
    add(navPanel);

    // display an error message cached from a redirect
    String cachedMessage = GitBlitWebSession.get().clearErrorMessage();
    if (!StringUtils.isEmpty(cachedMessage)) {
View Full Code Here

    // register the available navigation links for this page and user
    List<NavLink> navLinks = registerNavLinks();

    // standard navigation links
    NavigationPanel navigationPanel = new NavigationPanel("repositoryNavPanel", getRepoNavPageClass(), navLinks);
    add(navigationPanel);

    add(new ExternalLink("syndication", SyndicationServlet.asLink(getRequest()
        .getRelativePathPrefixToContextRoot(), getRepositoryName(), null, 0)));
View Full Code Here

      for (NavLinkExtension ext : extensions) {
        navLinks.addAll(ext.getNavLinks(user));
      }
    }

    NavigationPanel navPanel = new NavigationPanel("navPanel", getRootNavPageClass(), navLinks);
    add(navPanel);

    // display an error message cached from a redirect
    String cachedMessage = GitBlitWebSession.get().clearErrorMessage();
    if (!StringUtils.isEmpty(cachedMessage)) {
View Full Code Here

TOP

Related Classes of com.gitblit.wicket.panels.NavigationPanel

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.