Examples of RequiredTextField


Examples of org.apache.wicket.markup.html.form.RequiredTextField

  private void createComponents()
  {
    final Form form = new Form("gestionChoixForm",
        new CompoundPropertyModel(choix));

    form.add(new RequiredTextField("description"));
    form.add(new RequiredTextField("prix"));
    form.add(new CheckBox("textField"));
    form.add(new TextField("textFieldName"));
    form.add(new CheckBox("quantite"));

    form.add(new Button("submit", new ResourceModel("submit"))
View Full Code Here

Examples of org.apache.wicket.markup.html.form.RequiredTextField

          new CategorieChoiceRenderer());
      categorieChoice.setRequired(true);
      categorieChoice.setEnabled(isNew);
      this.add(categorieChoice);

      final RequiredTextField plaque = new RequiredTextField(
          "plaqueUnique");
      plaque.add(NumberValidator.range(1, 99999));
      plaque.setType(Integer.class);
      this.add(plaque);

      this.add(new Button("ok")
      {
        private static final long serialVersionUID = 1L;
View Full Code Here

Examples of wicket.markup.html.form.RequiredTextField

    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

Examples of wicket.markup.html.form.RequiredTextField

    this.createComponents();
  }

  private void createComponents()
  {
    this.add(new RequiredTextField("nom"));

    if (this.isNew)
    {
      this.add(new Label("labelTitre", "Créer une discipline"));
    }
View Full Code Here

Examples of wicket.markup.html.form.RequiredTextField

    this.createComponents();
  }

  private void createComponents()
  {
    this.add(new RequiredTextField("codeCategorie"));
    this.add(new RequiredTextField("nom"));

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

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

Examples of wicket.markup.html.form.RequiredTextField

    this.createComponents();
  }
 
  private void createComponents()
  {
    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);
View Full Code Here

Examples of wicket.markup.html.form.RequiredTextField

  private void createComponents()
  {
    // Doit pointer ailleurs...
    this.add(HomePage.link("cancel", ViewPersonnePanel.class, null));

    this.add(new RequiredTextField("nom", new PropertyModel(this.personne,
        "nom")).setLabel(new Model("Nom")));
    this.add(new RequiredTextField("prenom", new PropertyModel(
        this.personne, "prenom")).setLabel(new Model("Prenom")));
    this.add(new RequiredTextField("adresse", new PropertyModel(
        this.personne, "adresse")).setLabel(new Model("Adresse")));
    this.add(new RequiredTextField("ville", new PropertyModel(
        this.personne, "ville")).setLabel(new Model("Ville")));
    this.add(new RequiredTextField("province", new PropertyModel(
        this.personne, "province")).setLabel(new Model("Province")));

    this.add(new PaysDropDownChoice("pays", new PropertyModel(
        this.personne, "pays")).setLabel(new Model("Pays"))
        .setRequired(true));

    this.add(new RequiredTextField("codePostal", new PropertyModel(
        this.personne, "codePostal"))
        .setLabel(new Model("Code postal")));

    this.add(new RequiredTextField("telephone", new PropertyModel(
        this.personne, "telephone"), Telephone.class)
    {
      /**
       *
       */
      private static final long serialVersionUID = -1622892079642695231L;

      @Override
      public IConverter getConverter()
      {
        return new MaskConverter("###-###-####", Telephone.class);
      }
    }.setLabel(new Model("Telephone")));

    this.add(new SexeDropDownChoice("sexe", new PropertyModel(
        this.personne, "sexe")).setLabel(new Model("Sexe"))
        .setRequired(true));
    this.add(new AnneesDropDownChoice("annees", new PropertyModel(
        this.dateNaissance, "annee")).setLabel(new Model("Annees"))
        .setRequired(true));
    this.add(new MoisDropDownChoice("mois", new PropertyModel(
        this.dateNaissance, "mois")).setLabel(new Model("Mois"))
        .setRequired(true));
    this.add(new JoursDropDownChoice("jours", new PropertyModel(
        this.dateNaissance, "jour")).setLabel(new Model("Jours"))
        .setRequired(true));

    final RequiredTextField courriel = new RequiredTextField("courriel",
        new PropertyModel(this.personne, "courriel"));
    courriel.setLabel(new Model("Courriel")).setRequired(true);
    courriel.add(EmailAddressPatternValidator.getInstance());
    this.add(courriel);
  }
View Full Code Here

Examples of wicket.markup.html.form.RequiredTextField

    this.createComponents();
  }

  private void createComponents()
  {
    this.add(new RequiredTextField("no"));
    this.add(new RequiredTextField("nom"));
    this.add(new RequiredTextField("endroit"));

    final TextField debutPicker = new TextField("dateDebut", Date.class);
    this.add(debutPicker);
    this.add(new DatePicker("debutPicker", debutPicker));
View Full Code Here

Examples of wicket.markup.html.form.RequiredTextField

  }

  public void createComponent()
  {

    this.add(new RequiredTextField("username", new PropertyModel(this,
        "username")).setLabel(new Model("Username")));
    this.add(new PasswordTextField("password", new PropertyModel(this,
        "password")).setLabel(new Model("Password")));
    this.add(HomePage.link("inscription", CreationComptePersonnePanel.class, null));
    this.add(HomePage.link("motPasseOublie", RetrievePassword.class, null));
View Full Code Here

Examples of wicket.markup.html.form.RequiredTextField

    this.add(HomePage.link("ajouterEvenement",
        GestionEvenementsPanel.class, params).setVisible(!this.isNew));
   
    //Affichage des propriétés de la saison
    this.add(new RequiredTextField("nom"));
    this.add(new RequiredTextField("annee"));
    this.add(new CheckBox("active"));

    //Bouton cancel (Lien vers Liste saisons)
    params = new HashMap<Enum, Object>();
    params.put(Parameters.SELECTED_ITEM, null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.