Package org.xrace.view.user.inscriptions.delegate

Examples of org.xrace.view.user.inscriptions.delegate.DelegateRegistrationModePage


        return DelegateRegistrationModePage.class;
      }

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

    this.add(new PageLink("consultationInscription", MesCoursesPage.class));
    this.add(new PageLink("historique", MesTransactionsPage.class));
View Full Code Here


            return DelegateRegistrationModePage.class;
          }

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

          }
        });
View Full Code Here

            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)));
View Full Code Here

      return new SaisonPage();
    }
    else if (etape == Etapes.Panier && action == Action.NouveauAutre)
    {
      getProcessusInscription().setPersonneAinscrire(null);
      return new DelegateRegistrationModePage(Etapes.AutrePersonne);
    }
    else if (etape == Etapes.Panier && action == Action.NouveauEquipe
        && obj instanceof Inscription)
    {
      Inscription inscription = (Inscription) obj;
      Course course = inscription.getCourse();
      getProcessusInscription().setPersonneAinscrire(null);
      getProcessusInscription().setSaisonSelectionnee(
          course.getEvenement().getSaison());
      getProcessusInscription().setEvenementSelectionnee(
          course.getEvenement());

      List<Course> courses = new ArrayList<Course>();
      courses.add(course);
      getProcessusInscription().setCoursesSelectionnee(courses);
      getProcessusInscription().setCourseSelectionnee(course);

      return new DelegateRegistrationModePage(Etapes.AutrePersonneEquipe);
    }
    else if (etape == Etapes.Panier && action == Action.Suivant)
    {
      return new CartConfirmationPage();
    }
View Full Code Here

TOP

Related Classes of org.xrace.view.user.inscriptions.delegate.DelegateRegistrationModePage

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.