Examples of BookmarkablePageLink


Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

    protected Component headerPanel() {
        Fragment header = new Fragment(HEADER_PANEL, "header", this);

        // the add button
        header.add(new BookmarkablePageLink("addNew", NewDataAccessRulePage.class));

        // the removal button
        header.add(removal = new SelectionDataRuleRemovalLink("removeSelected", rules, dialog));
        removal.setOutputMarkupId(true);
        removal.setEnabled(false);
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

   
    protected Component headerPanel() {
        Fragment header = new Fragment(HEADER_PANEL, "header", this);
       
        // the add button
        header.add(new BookmarkablePageLink("addNew", NewDataPage.class));
       
        // the removal button
        header.add(removal = new SelectionRemovalLink("removeSelected", table, dialog));
        removal.setOutputMarkupId(true);
        removal.setEnabled(false);
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

        @Override
        protected void populateItem(ListItem<PageNumDisplay> item) {
          PageParameters params = new PageParameters();
          params.add("name", productTypeName);
          params.put("pageNum", item.getModelObject().getNum());
          BookmarkablePageLink pageLink = new BookmarkablePageLink("pageLink",
              typeBrowserPage, params);
          pageLink.add(new Label("pageNum", String.valueOf(item
              .getModelObject().getNum())));
          pageLink.add(new SimpleAttributeModifier("class", item
              .getModelObject().isCurrentPage() ? "selected" : ""));
          item.add(pageLink);
        }
      });
      add(new Label("nothing_found").setVisible(false));
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

       * If the link is a bookmarkable link, then we need to transfer the parameters to the
       * next request.
       */
      if (link instanceof BookmarkablePageLink)
      {
        BookmarkablePageLink bookmarkablePageLink = (BookmarkablePageLink)link;
        try
        {
          Field parametersField = BookmarkablePageLink.class.getDeclaredField("parameters");
          Method getParametersMethod = BookmarkablePageLink.class.getDeclaredMethod(
            "getPageParameters", (Class[])null);
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

   * Construct.
   */
  public SimplePage_2()
  {
    add(new Label("amount", new Model("$5.00")).setRenderBodyOnly(true));
    add(new BookmarkablePageLink("link", SimplePage_1.class));
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

   * Constructor
   */
  public StatelessPage()
  {
    setStatelessHint(true);
    add(new BookmarkablePageLink("indexLink", Index.class));
    final TextField field = new TextField("textfield", new Model());
    field.setRequired(true);

    StatelessForm statelessForm = new StatelessForm("statelessform")
    {
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

  /**
   * Construct.
   */
  public StatefulPage()
  {
    add(new BookmarkablePageLink("indexLink", Index.class));

    // Action link counts link clicks
    final Link actionLink = new Link("actionLink")
    {
      private static final long serialVersionUID = 1L;
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

    // create and add components

    this.titleLabel = new Label("titleLabel", this.getClass().getName());

    this.add(new BookmarkablePageLink("homePageLink", Application.get().getHomePage()));
    this.add(this.titleLabel);
    this.add(new BasePageMenuPanel("menuPanel"));
    this.add(new FeedbackPanel("feedbackPanel"));
    this.add(new FindAuthorityForm("findAuthorityForm"));
    this.add(new QuickRetrievalForm("quickRetrievalForm"));
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

    super(id);

    // create and add components

    this.add(new BookmarkablePageLink("homeLink", this.getApplication().getHomePage()));

    this.add(new BookmarkablePageLink("componentsLink", org.openxri.admin.webpages.components.Index.class));

    this.add(new BookmarkablePageLink("pipelinesLink", org.openxri.admin.webpages.pipelines.Index.class));

    this.add(new BookmarkablePageLink("configLink", org.openxri.admin.webpages.config.Index.class));

    this.add(new BookmarkablePageLink("storeLink", org.openxri.admin.webpages.store.Index.class));

    this.add(new BookmarkablePageLink("serverLink", org.openxri.admin.webpages.server.Index.class));

    this.add(new BookmarkablePageLink("urimapperLink", org.openxri.admin.webpages.urimapper.Index.class));

    this.add(new BookmarkablePageLink("pluginLink", org.openxri.admin.webpages.plugin.Index.class));
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.link.BookmarkablePageLink

    // create and add components

    this.titleLabel = new Label("titleLabel", this.getClass().getName());

    this.add(new BookmarkablePageLink("homePageLink", Application.get().getHomePage()));
    this.add(this.titleLabel);
    this.add(new BasePageMenuPanel("menuPanel"));
    this.add(new FeedbackPanel("feedbackPanel"));
    this.add(new FindAuthorityForm("findAuthorityForm"));
  }
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.