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

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


  public SessionExpiredPage()
  {
    super();

    add(new ContactPanel("contactPanel"));
    add(new PageLink("login", WelcomePage.class));
  }
View Full Code Here


    createComponents();
  }

  private void createComponents()
  {
    this.add(new PageLink("contact", ContactUsPage.class));
  }
View Full Code Here

    {
      CreateComponentsUserNonConnected();
    }

    //Administration
    this.add(new PageLink("aSaison", GestionEvenementsPage.class));
    this.add(new PageLink("aSaisonActives", ActiveSaisonsListPage.class));
    this.add(new PageLink("aListeCategories", CategoriesListPage.class));
    this.add(new PageLink("aListeDisciplines", DisciplinesListPage.class));
    this.add(new PageLink("aGestionMembres",
        PersonneUpdateDataViewPage.class));
    add(new PageLink("aListeSecteurs", SecteurListPage.class));
    this.add(new PageLink("aGestionClubs", ClubsListPage.class));
    add(new PageLink("aGestionPuces", EnsemblePucesDataViewPage.class));
    this.add(new PageLink("aGestionFactures", GestionFacturesPage.class));
    this.add(new PageLink("aFacturesMembre", FacturesByPersonnePage.class));
    this.add(new PageLink("aListeTX", TransactionsReportPage.class));
    this.add(new PageLink("aActuTX", ActualiserTransactionsPage.class));

    this.add(new PageLink("aFusion", MergeTypeChoicePage.class));
    this.add(new PageLink("gestionMessages", MessagesPage.class));

    this.add(new PageLink("aGestionArticles", ArticlesListPage.class));
    this.add(new PageLink("aGestionArticlesVendus",
        ArticlesVendusRecherchePage.class));
    this.add(new PageLink("aGestionPublicites", PublicitesListPage.class));

  }
View Full Code Here

  private void CreateComponentsUserConnected()
  {

    //    Accueil
    final PageLink linkAccueil = new PageLink("linkAccueil",
        MemberMainPage.class);
    linkAccueil.add(new Label("lblAccueil", getLocalizer().getString(
        "welcome", this)));
    this.add(linkAccueil);

    //    Menu #1 - Mon compte
    final PageLink linkMenu1 = new PageLink("linkMenu1",
        PersonnalInfoPage.class);
    linkMenu1.add(new Label("lblMenu1", getLocalizer().getString("profile",
        this)));
    this.add(linkMenu1);

    //     Menu des entraîneurs
    boolean coachmenuVisible = this.session.getCompte().getCoachOf() != null;

    Label labelMenuCoach = new Label("divMenuCoach", getLocalizer()
        .getString("coach", this));
    this.add(labelMenuCoach.setVisible(coachmenuVisible));

    final PageLink linkGestionMembresClub = new PageLink(
        "linkGestionMembres", PersonsInClubPage.class);

    final PageLink linkGestionInscriptionsClub = new PageLink(
        "linkGestionInscriptions", new IPageLink()
        {
          private static final long serialVersionUID = 1L;

          public Class getPageIdentity()
          {
            return DelegateRegistrationModePage.class;
          }

          public Page getPage()
          {
            return new DelegateRegistrationModePage(
                Etapes.AutrePersonne,
                DelegateRegistrationMode.COACH);

          }
        });

    linkGestionMembresClub.add(new Label("lblGestionMembresClub",
        getLocalizer().getString("manageClubMember", this)));

    linkGestionInscriptionsClub.add(new Label("lblInscriptionsClub",
        getLocalizer().getString("registerClubMember", this)));

    this.add(linkGestionMembresClub.setVisible(coachmenuVisible));
    this.add(linkGestionInscriptionsClub.setVisible(coachmenuVisible));

    //    Menu #4 - Panier
    final PageLink linkMenu4 = new PageLink("linkMenu4",
        CartListViewPage.class);
    linkMenu4.add(new Label("lblMenu4", getLocalizer().getString("cart",
        this)));
    this.add(linkMenu4);

    //Menu #2 - Inscriptions
    this.add(new Label("divMenu2", getLocalizer().getString(
        "registrations", this)));
    final PageLink link1Menu2 = new PageLink("link1Menu2", SaisonPage.class);
    link1Menu2.add(new Label("lbl1Menu2", getLocalizer().getString(
        "register", this)));
    this.add(link1Menu2);

    final PageLink link2Menu2 = new PageLink("link2Menu2", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Class getPageIdentity()
      {
        return DelegateRegistrationModePage.class;
      }

      public Page getPage()
      {
        return new DelegateRegistrationModePage(Etapes.AutrePersonne);
      }
    });

    link2Menu2.add(new Label("lbl2Menu2", getLocalizer().getString(
        "deleteRegistration", this)));
    this.add(link2Menu2);

    final PageLink link3Menu2 = new PageLink("link3Menu2",
        MesCoursesPage.class);
    link3Menu2.add(new Label("lbl3Menu2", getLocalizer().getString(
        "viewRegistrations", this)));
    this.add(link3Menu2);

    final PageLink link4Menu2 = new PageLink("link4Menu2",
        MesTransactionsPage.class);
    link4Menu2.add(new Label("lbl4Menu2", getLocalizer().getString(
        "viewTransactions", this)));
    this.add(link4Menu2);

    //Consulter Inscription
    this.add(new Label("linkConsulterInscription").setVisible(false));
View Full Code Here

  private void CreateComponentsUserNonConnected()
  {

    //    Accueil
    final PageLink linkAccueil = new PageLink("linkAccueil",
        WelcomePage.class);
    linkAccueil.add(new Label("lblAccueil", getLocalizer().getString(
        "welcome", this)));
    this.add(linkAccueil);

    //    Menu #1 - Créer un compte
    final PageLink linkMenu1 = new PageLink("linkMenu1",
        CreationAccountPage.class);
    linkMenu1.add(new Label("lblMenu1", getLocalizer().getString(
        "newCustomer", this)));
    this.add(linkMenu1);

    //  Menu des entraineurs
    this.add(new Label("divMenuCoach").setVisible(false));
    this.add(new Label("linkGestionMembres").setVisible(false));
    this.add(new Label("linkGestionInscriptions").setVisible(false));

    //    Menu #2 - Inscriptions
    this.add(new Label("divMenu2").setVisible(false));
    this.add(new Label("link1Menu2").setVisible(false));
    this.add(new Label("lbl1Menu2").setVisible(false));
    this.add(new Label("link2Menu2").setVisible(false));
    this.add(new Label("lbl2Menu2").setVisible(false));
    this.add(new Label("link3Menu2").setVisible(false));
    this.add(new Label("lbl3Menu2").setVisible(false));
    this.add(new Label("link4Menu2").setVisible(false));
    this.add(new Label("lbl4Menu2").setVisible(false));

    //    Menu #3 - Administrateur
    this.add(new Label("divAdmin").setVisible(false));

    //    Menu #4 - Panier
    this.add(new Label("linkMenu4").setVisible(false));
    this.add(new Label("lblMenu4").setVisible(false));

    //    Consulter Inscription
    final PageLink linkConsulterInscription = new PageLink(
        "linkConsulterInscription", SaisonsPage.class);
    linkConsulterInscription.add(new Label("lblConsulterInscription",
        getLocalizer().getString("consulterInscription", this)));
    this.add(linkConsulterInscription);

    //    Menu #5 - logout
    this.add(new Label("linkMenu5").setVisible(false));
View Full Code Here

              + "discipline avant de créer une course. ");
        }
      }
    }.setVisible(!isNew));

    this.add(new PageLink("gestionChoix", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
        return new ChoixListPage(evenement);
      }

      public Class getPageIdentity()
      {
        return ChoixListPage.class;
      }
    }).setVisible(!isNew));

    this.add(new PageLink("rabais", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
        return new RabaisListPage(evenement);
      }

      public Class getPageIdentity()
      {
        return RabaisListPage.class;
      }
    }).setVisible(!isNew));

    this.add(new PageLink("articles", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
        return new ReportDownloadPage(new ArticlesSommaireReport(
            evenement, articleService));
      }

      public Class getPageIdentity()
      {
        return ReportDownloadPage.class;
      }
    }).setVisible(!isNew));

    this.add(new PageLink("articlesParPersonne", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
        return new ReportDownloadPage(
            new ArticlesParPersonneSommaireReport(evenement,
                articleService, evenementService));
      }

      public Class getPageIdentity()
      {
        return ReportDownloadPage.class;
      }
    }).setVisible(!isNew));

    this.add(new PageLink("inscritsComplete", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
        return new ReportDownloadPage(
            new InscriptionsEvenementCompleteReport(evenement,
                dossierInscriptionService));
      }

      public Class getPageIdentity()
      {
        return ReportDownloadPage.class;
      }
    }).setVisible(!isNew));

    this.add(new PageLink("inscritsAbrege", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
View Full Code Here

  private void createComponents()
  {
    final List list = choixService.findChoixByEvenement(evenement);

    this.add(new ChoixListView("choixListView", list));
    this.add(new PageLink("ajouterChoix", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
View Full Code Here

    else
    {
      item.add(new Label("textField", "Non"));
    }

    item.add(new PageLink("modify", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
View Full Code Here

        super.onSubmit();
      }
    };

    form.add(new ClubListView("listeClubs", clubLines));
    form.add(new PageLink("retour", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
View Full Code Here

        setResponsePage(new PlaqueAttribueeUpdatePage(infoSaison,
            false, PlaquesAttribueesListPage.this));
      }
    });

    add(new PageLink("ajoutPlaque", new IPageLink()
    {
      private static final long serialVersionUID = 2682015778464627911L;

      public Page getPage()
      {
        return new SelectPersonnePage(saison);
      }

      public Class getPageIdentity()
      {
        return SelectPersonnePage.class;
      }
    }));

    add(new PageLink("rechercherPlaque", new IPageLink()
    {
      private static final long serialVersionUID = 1L;

      public Page getPage()
      {
View Full Code Here

TOP

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

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.