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

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


        response.setAttachmentHeader(reportInfo.getFileName() + ".xls");
      }
    };

    export.setCacheable(false);
    this.add(new ResourceLink("download", export));
  }
View Full Code Here


        Integer.class));
    add(new TextField("delimiterChar").setRequired(true));
    add(new TextArea("commentaires"));
    add(new Label("importFile.name"));

    this.add(viewFileLink = new ResourceLink("viewFile", new WebResource()
    {
      private static final long serialVersionUID = 1L;

      @Override
      public IResourceStream getResourceStream()
View Full Code Here

    add(new Label("date"));
    add(new Label("compte.personne.nomPrenom"));
    add(new TextArea("commentaires"));
    add(new Label("importFile.name"));

    this.add(viewFileLink = new ResourceLink("viewFile", new WebResource()
    {
      private static final long serialVersionUID = 1L;

      @Override
      public IResourceStream getResourceStream()
View Full Code Here

  public PreparationPreCoursePage(final Course course)
  {
    super();

    add(new ResourceLink("complete", new ExcelResource(
        new InscriptionsCompleteReport(course,
            dossierInscriptionService))));
    add(new ResourceLink("summary", new ExcelResource(
        new InscriptionsSommaireReport(course,
            dossierInscriptionService))));
    add(new ResourceLink("equipes",
        new ExcelResource(new InscriptionsEquipeReport(course,
            dossierInscriptionService))));
    add(new ResourceLink("imprimable", new ExcelResource(
        new InscriptionsImprimableReport(course,
            dossierInscriptionService))));
    add(new ResourceLink("geco", new ExcelResource(
        new InscriptionsGecoReport(course, dossierInscriptionService))));

    add(new Link("assignPlaques")
    {
      private static final long serialVersionUID = 1L;
View Full Code Here

        return (short) (ligne + ListePlaquePage.PREMIERE_LIGNE);
      }

    };
    export.setCacheable(false);
    this.add(new ResourceLink("download", export));
  }
View Full Code Here

    final ImportationDonneesTerrain importationDonneesTerrain = importationDonneesTerrainService
        .find(importationDonneesTerrainId);

    add(new ImportationDonneesTerrainLineDataViewPanel("linesDataView",
        importationDonneesTerrain.getLines()));
    add(new ResourceLink("download", new ExcelResource(
        new ImportationResultReport(importationDonneesTerrain))
        .setCacheable(false)));
    add(new PageLink("merge", MergeTypeChoicePage.class));

    this.add(new PageLink("gestionPlaques", new IPageLink()
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

                response.setAttachmentHeader("tweets.txt");
            }
        };

        export.setCacheable(false);
        add(new ResourceLink("exportTsvLink", export));
        add(new Link("exportHtmlLink") {

            @Override
            public void onClick() {
                onHtmlExport();
View Full Code Here

                "Hey,\n\nI found some nice articles via Jetslide:\n\n" + Helper.urlEncode(url))));

        vm = new ValueMap(pp);
        vm.put(TweetSearchPage.TIME, TweetSearchPage.TIME_TODAY);
        rssRef = new ResourceReference("rssFeed");
        add(new ResourceLink("rssLink", rssRef, vm));
    }
View Full Code Here

  private static final long serialVersionUID = 1L;

    public HomePage(final PageParameters parameters) {
    super(parameters);
 
    add(new ResourceLink("rssLink", new RSSProducerResource()));
    add(new ResourceLink("globalRssLink", new SharedResourceReference("globalRSSProducer")));
    }
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.