Examples of ExternalLink


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

          params.add("tab", "File Manager");
          setResponsePage(ConfigPage.class, params)
        }
    });
   
    add(new ExternalLink("ganglia_link", app.getGangliaUrl()));
   
    add(new ExternalLink("contact_link", "mailto:"+((OpsuiApp)getApplication()).getEmailContactLink()));
  }
View Full Code Here

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

        setResponsePage(WorkflowInstanceViewerPage.class, params);
       
      }
    });
   
    add(new ExternalLink("ganglia_link", app.getGangliaUrl()));
   
    add(new Link("config_link"){
      /* (non-Javadoc)
       * @see org.apache.wicket.markup.html.link.Link#onClick()
       */
 
View Full Code Here

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

            filePath = new File(new URI(r.getDataStoreReference()))
                .getAbsolutePath();
          } catch (Exception ignore) {
          }
         
          ExternalLink refLink = new ExternalLink("ref_file_path_link",
              "/" + app.getRootContext() + "/data?productID="+productId);
          refLink.add(new Label("ref_file_path", filePath));
          refItem.add(refLink);
          refItem.add(new Label("ref_file_size",
              String.valueOf(r.getFileSize())));
          try {
            refItem.add(new Label("ref_pct_transferred", NumberFormat
View Full Code Here

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

      protected void populateItem(ListItem item) {

        String qxri = item.getModelObjectAsString();
        String hxri = ((OpenXRIAdminApplication) this.getApplication()).getProperties().getProperty("hxri-prefix") + qxri;

        ExternalLink link = new ExternalLink("hxri", hxri);
        link.add(new Label("qxri", qxri));
        item.add(link);
      }
    });

    this.add(new PageLink("createSubSegmentLink", new IPageLink() {

      private static final long serialVersionUID = 2192286434779574430L;

      public Page getPage() {

        return(new CreateSubSegment(AuthorityDetails.this.authority));
      }

      public Class<?> getPageIdentity() {

        return(CreateSubSegment.class);
      }
    }));

    this.add(new PageLink("createAliasSubSegmentLink", new IPageLink() {

      private static final long serialVersionUID = -1394803236007989039L;

      public Page getPage() {

        return(new CreateAliasSubSegment(AuthorityDetails.this.authority));
      }

      public Class<?> getPageIdentity() {

        return(CreateAliasSubSegment.class);
      }
    }));

    this.add(new ListView("subSegments") {

      private static final long serialVersionUID = 8793019471745319174L;

      @Override
      protected void populateItem(ListItem item) {

        final SubSegment subSegment = (SubSegment) item.getModelObject();

        PageLink link = new PageLink("link", new IPageLink() {

          private static final long serialVersionUID = 4182879013901656829L;

          public Page getPage() {

            return(new SubSegmentDetails(subSegment));
          }

          public Class<?> getPageIdentity() {

            return(SubSegmentDetails.class);
          }
        });
        link.add(new Label("name", subSegment.getName()));
        item.add(link);
      }
    });
    this.add(new ListView("childSubSegments") {

      private static final long serialVersionUID = 1273612869821409740L;

      @Override
      protected void populateItem(ListItem item) {

        final SubSegment subSegment = (SubSegment) item.getModelObject();

        PageLink link = new PageLink("link", new IPageLink() {

          private static final long serialVersionUID = -1232152334705755201L;

          public Page getPage() {

            return(new SubSegmentDetails(subSegment));
          }

          public Class<?> getPageIdentity() {

            return(SubSegmentDetails.class);
          }
        });
        link.add(new Label("name", subSegment.getName()));
        item.add(link);
      }
    });
    this.add(new XrdForm("xrdForm"));
    this.add(new TemplateForm("templateForm"));
View Full Code Here

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

        myGuider.add(JQBehaviors.mouseClick(guider.next()));

        add(myGuider);
        add(guider);

        add(new ExternalLink("showGuide", "#").add(JQBehaviors.mouseClick(guider.show("second"))));
    }
View Full Code Here

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

    };
    linkInternal.add(new PrettyPopinBehavior(new PrettyPopinOptions()
        .width(500).height(400).followScroll(false)));
    add(linkInternal);

    ExternalLink linkExternal = new ExternalLink("linkExternal",
        "http://localhost:8080/prettypopin");
    linkExternal.add(new PrettyPopinBehavior(new PrettyPopinOptions()
        .width(500).height(400).followScroll(true)));
    add(linkExternal);

  }
View Full Code Here

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

        }
    }

    private void addHomePageLinkAndApplicationName() {
        // this is a bit hacky, but it'll do...
        ExternalLink homePageLink = new ExternalLink(ID_HOME_PAGE_LINK, "/wicket/");
        homePageLink.setContextRelative(true);
        themeDiv.add(homePageLink);
        homePageLink.add(new Label(ID_APPLICATION_NAME, applicationName));
    }
View Full Code Here

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

        add(dev = new DebugBar("dev"));
        dev.setOutputMarkupId(true);
    } else {
        add(new EmptyPanel("dev").setVisible(false));
    }   
    add(new ExternalLink("bug", "https://issues.apache.org/jira/browse/OPENMEETINGS"));//FIXME hardcoded
   
    add(new ChatPanel("chatPanel"));
    add(new WebSocketBehavior() {
      private static final long serialVersionUID = -3311970325911992958L;
View Full Code Here

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

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE |
      PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
      "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
    add(new ResourceLink("cancelButtonLink", new ResourceReference("cancelButton")));
View Full Code Here

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

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE
        | PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
        "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
    add(new ResourceLink("cancelButtonLink", new ResourceReference("cancelButton")));
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.