Package org.apache.wicket.markup.html.link

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


      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 SharedResourceReference("cancelButton")));

    // redirect to external url form
    FeedbackPanel feedbackPanel = new FeedbackPanel("feedback");
    add(feedbackPanel);
    add(new RedirectForm("redirectForm"));
View Full Code Here


      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 SharedResourceReference("cancelButton")));

    // redirect to external url form
    FeedbackPanel feedbackPanel = new FeedbackPanel("feedback");
    add(feedbackPanel);
    add(new RedirectForm("redirectForm"));
View Full Code Here

  /**
   * Construct.
   */
  public MockResourceLinkPage()
  {
    add(new ResourceLink("link", new ResourceReference(MockResourceLinkPage.class, "test.html")));
  }
View Full Code Here

  /**
   * Construct.
   */
  public BlockedResourceLinkPage()
  {
    add(new ResourceLink("link", new ResourceReference(BlockedResourceLinkPage.class,
        "BlockedResourceLinkPage.html")));
  }
View Full Code Here

    final Map parameters = new HashMap();
    parameters.put("BaseDir", new File(context.getRealPath("/reports")));

    JRResource pdfResource = new JRPdfResource(reportFile).setReportParameters(parameters).setReportDataSource(new WebappDataSource());
    add(new ResourceLink("linkToPdf", pdfResource));

    JRResource rtfResource = new JRRtfResource(reportFile).setReportParameters(parameters).setReportDataSource(new WebappDataSource());
    add(new ResourceLink("linkToRtf", rtfResource));

    JRResource htmlResource = new JRHtmlResource(reportFile).setReportParameters(parameters).setReportDataSource(new WebappDataSource());
    add(new ResourceLink("linkToHtml", htmlResource));

    JRResource textResource = new JRTextResource(reportFile).setReportParameters(parameters).setReportDataSource(new WebappDataSource());
    add(new ResourceLink("linkToText", textResource));

    JRResource imageResource = new JRImageResource(reportFile).setReportParameters(parameters).setReportDataSource(new WebappDataSource());
    add(new ResourceLink("linkToImage", imageResource));

    JRResource csvResource = new JRCsvResource(reportFile).setReportParameters(parameters).setReportDataSource(new WebappDataSource());
    add(new ResourceLink("linkToCsv", csvResource));
  }
View Full Code Here

        | 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")));

    // redirect to external url form
    FeedbackPanel feedbackPanel = new FeedbackPanel("feedback");
    add(feedbackPanel);
    add(new RedirectForm("redirectForm"));
View Full Code Here

  /**
   * Construct.
   */
  public BlockedResourceLinkPage()
  {
    add(new ResourceLink("link", new ResourceReference(BlockedResourceLinkPage.class, "BlockedResourceLinkPage.html")));
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.link.ResourceLink

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.