Examples of OtherPageLink


Examples of com.gitblit.wicket.PageRegistration.OtherPageLink

    pages.put("compare", new PageRegistration("gb.compare", ComparePage.class, params, true));

    // conditional links
    // per-repository extra page links
    if (JGitUtils.getPagesBranch(r) != null) {
      OtherPageLink pagesLink = new OtherPageLink("gb.pages", PagesServlet.asLink(
          getRequest().getRelativePathPrefixToContextRoot(), repositoryName, null), true);
      pages.put("pages", pagesLink);
    }

    // Conditionally add edit link
View Full Code Here

Examples of com.gitblit.wicket.PageRegistration.OtherPageLink

        if (entry.hiddenPhone) {
          WicketUtils.setCssClass(item, "hidden-phone");
        }
        if (entry instanceof OtherPageLink) {
          // other link
          OtherPageLink link = (OtherPageLink) entry;
          Component c = new LinkPanel("link", null, getString(entry.translationKey), link.url);
          c.setRenderBodyOnly(true);
          item.add(c);
        } else if (entry instanceof DropDownMenuRegistration) {
          // drop down menu
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.