Package wicket.model

Examples of wicket.model.PropertyModel


  }

  private void createComponents()
  {
    CheckBox checkBox;
    checkBox = new CheckBox("etat", new PropertyModel(this.afterSaison,
        "active"));
    this.add(checkBox);

    this.add(new Label("nom", this.afterSaison.getNom()));
    this.add(new Label("labelTitre",
View Full Code Here


    this.createComponents();
  }

  private void createComponents()
  {
    final CheckBox checkbox = new CheckBox("admin", new PropertyModel(
        this.afterCompte, "admin"));
    this.add(new Label("username", new PropertyModel(this.afterCompte,
        "username")));
    this.add(new Label("nom", new PropertyModel(this.personne, "nom")));
    this
        .add(new Label("prenom", new PropertyModel(this.personne,
            "prenom")));
    this.add(checkbox);

    final Map<Enum, Object> param = new HashMap<Enum, Object>();
    param.put(ViewPersonnePanel.TypeParameters.ADMIN, true);
View Full Code Here

  protected void populateItem(final ListItem item)
  {
    final Saison saison = (Saison) item.getModelObject();

    CheckBox checkBox;
    checkBox = new CheckBox("etat", new PropertyModel(saison, "active"));
    checkBox.setEnabled(false);
    item.add(checkBox);

    item.add(new Label("nom", saison.getNom()));
    item.add(new Label("annee", saison.getAnnee().toString()));
View Full Code Here

    this.createComponents();
  }

  private void createComponents()
  {
    this.add(new RequiredTextField("nomComplet", new PropertyModel(
        this.afterClub, "nomComplet")));

    this.add(HomePage.link("cancel", ListClubsPanel.class, null));

    if (this.beforeClub == null)
View Full Code Here

    final TextField datePicker = new TextField("date", Date.class);
    this.add(datePicker);
    this.add(new DatePicker("datePicker", datePicker));

    this.add(new DropDownChoice("discipline", new PropertyModel(course,
        "discipline"), this.disciplineController.getDisciplines(),
        new DisciplineChoiceRenderer()));

    Map<Enum, Object> params = new HashMap<Enum, Object>();
    params.put(Parameters.SELECTED_ITEM, null);
View Full Code Here

      map.put("Oid", personne.getOid());
      item.add(HomePage
          .link("selection", DisplayPersonnePanel.class, map));
    }

    item.add(new Label("prenom", new PropertyModel(personne, "prenom")));
    item.add(new Label("nom", new PropertyModel(personne, "nom")));
    item.add(new Label("pays", new PropertyModel(personne, "pays")));
  }
View Full Code Here

    final RequiredTextField ageMax = new RequiredTextField("ageMax");
    ageMax.add(NumberValidator.range(1, 99));
    ageMax.setType(Integer.class);
    this.add(ageMax);

    this.add(new SexeDropDownChoice("sexe", new PropertyModel(
        this.categorie, "sexe")).setRequired(true));
    this.add(new NiveauDropDownChoice("niveau").setRequired(true));

    this.add(new DropDownChoice("discipline", this.disciplineController
        .getDisciplines(), new DisciplineChoiceRenderer()));
View Full Code Here

    }
   
    item.add(HomePage.link("selection", DisplayPlaquePersonne.class, map));
   
    //plaque
    item.add(new Label("plaque", new PropertyModel(infoSaison, "plaqueUnique")));
    item.add(new Label("categorie", new PropertyModel(categorie, "nom")));
    item.add(new Label("prenom", new PropertyModel(personne, "prenom")));
    item.add(new Label("nom", new PropertyModel(personne, "nom")));
    item.add(new Label("dateNaissance", new PropertyModel(personne, "dateNaissance")));
    item.add(new Label("pays", new PropertyModel(personne, "pays")));
   }
View Full Code Here

    final CourseCategorieParticipanteLine line = (CourseCategorieParticipanteLine) item
        .getModelObject();

    item.add(new Label("codeCategorie", line.getCodeCategorie()));
    item.add(new Label("sexe", line.getSexe()));
    item.add(new TextField("prix", new PropertyModel(line, "prix")));
    item.add(new CheckBox("participante", new PropertyModel(line,
        "participante")));
  }
View Full Code Here

  {
    RequiredTextField plaque;
    RequiredTextField licence;
   
   
    plaque = new RequiredTextField("plaque", new PropertyModel(this.afterInfoSaison, "plaqueUnique"));
    plaque.add(NumberValidator.range(1, 99999));
    plaque.setType(Integer.class);
   
    licence = new RequiredTextField("licence", new PropertyModel(this.afterInfoSaison, "noLicence"));
   
    final DropDownChoice categorieChoice = new DropDownChoice("categorie", new PropertyModel(this.afterInfoSaison,"categorie"),this.categories.getList(), new CategoryChoiceRender());
    this.add(categorieChoice.setRequired(true));
    this.add(plaque);
    this.add(licence);
    this.add(new Label("nom", new PropertyModel(this.personne, "nom")));
    this.add(new Label("prenom", new PropertyModel(this.personne, "prenom")));
 
    //Lien Sélectioner
    final Map params = new HashMap();
    params.put(ListeMembres.TypeParameters.SAISON, this.saison);
   
View Full Code Here

TOP

Related Classes of wicket.model.PropertyModel

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.