Package org.xrace.view.formcomponents

Examples of org.xrace.view.formcomponents.PersonneChoiceRenderer


        .obtenirPersonneAssociee();

    final DropDownChoice dropDownChoice = new DropDownChoice(
        "ddcPersonneAssociee", new PropertyModel(this,
            "personneAInscrire"), personnesAssociees,
        new PersonneChoiceRenderer());
    dropDownChoice.setRequired(false);

    final TextField email = new TextField("email");

    //Gestion des inscriptions pour les membres d'un club dont la personne actuelle est le coach.
    Radio radioCoach = new Radio("coachClubsMembers", new Model(
        DelegateRegistrationMode.COACH));

    List<Personne> clubMembers;
    Compte coach = this.getXRaceSession().getCompte();
    final DropDownChoice dropDownChoiceMembresClub;
    final Label labelNomClub;

    if (coach.getCoachOf() != null)
    {
      labelNomClub = new Label("clubName", coach.getCoachOf()
          .getNomComplet());
      radioCoach.setVisible(true);
      clubMembers = clubService.find(coach.getCoachOf().getId())
          .getMembres();
      dropDownChoiceMembresClub = new DropDownChoice("ddcClubMembers",
          new PropertyModel(this, "personneAInscrire"), clubMembers,
          new PersonneChoiceRenderer());
    }
    else
    {
      labelNomClub = new Label("clubName", "");
      radioCoach.setVisible(false);
View Full Code Here

TOP

Related Classes of org.xrace.view.formcomponents.PersonneChoiceRenderer

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.