Package org.apache.wicket.markup.html.form

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


          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

    createComponents();
  }

  private void createComponents()
  {
    this.add(new RequiredTextField("username").setLabel(
        new Model("Courriel")).setRequired(true).add(
        EmailAddressValidator.getInstance()));

    this.add(new Button("cancel", new ResourceModel("cancel"))
    {
View Full Code Here

    createComponents();
  }

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

    if (isNew)
    {
      this.add(new Label("labelTitre", "Créer un club"));
      this.add(new Label("labelTitreEntraineur", ""));
View Full Code Here

  }

  private void createComponents()
  {
    add(new TextField("id").setEnabled(false));
    add(new RequiredTextField("nom"));
    add(new RequiredTextField("annee"));
    add(new CheckBox("active"));
    add(new TextArea("texteFraisAdminFr"));
    add(new TextArea("texteFraisAdminEn"));
    add(new TextArea("conditionARespecterFr"));
    add(new TextArea("conditionARespecterEn"));
View Full Code Here

  private void createComponents()
  {
    final Form form = new Form("publiciteUpdateForm",
        new CompoundPropertyModel(publicite));

    form.add(new RequiredTextField("description"));
    form.add(new DateField("dtDebut").setRequired(true));
    form.add(new DateField("dtFin").setRequired(true));
    form.add(new CheckBox("actif"));
    form.add(new CheckBox("largeurOriginale"));
    form.add(new CheckBox("hauteurOriginale"));
View Full Code Here

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

    form.add(new RequiredTextField("description"));
    form.add(new TextArea("detail"));
    form.add(new RequiredTextField("prix"));
    form.add(new CheckBox("textField"));
    form.add(new TextField("textFieldName"));
    form.add(new CheckBox("inactif"));

    form.add(new CheckBox("afficherAvis1"));
View Full Code Here

    createComponents();
  }

  private void createComponents()
  {
    add(new RequiredTextField("code"));
    add(new TextField("description"));

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

  private void createComponents()
  {
    final Form form = new Form("gestionRabaisForm",
        new CompoundPropertyModel(rabaisEvenement));

    form.add(new RequiredTextField("nbCourses").setType(Integer.class));
    form.add(new RequiredTextField("montant").setType(Double.class));
    form.add(new DropDownChoice("categorie", categorieParticipanteService
        .getCategories(rabaisEvenement.getEvenement().getSaison()),
        new CategorieChoiceRenderer()));
    form.add(new TextField("description"));
View Full Code Here

                }
            };
            add(addAttrForm);
            addAttrForm.add(new Label("nameLabel", new ResourceModel(
                    "common.name")));
            TextField userAttrNameField = new RequiredTextField("userAttrName",
                    new PropertyModel(this, "userAttrName"));
            addAttrForm.add(userAttrNameField);
            addAttrForm.add(new Label("valueLabel", new ResourceModel(
                    "common.value")));
            TextField userAttrValueField = new RequiredTextField(
                    "userAttrValue", new PropertyModel(this, "userAttrValue"));
            addAttrForm.add(userAttrValueField);
            addAttrForm.add(new Button("addAttr", new ResourceModel(
                    "common.attribute.add")));
        }
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.form.RequiredTextField

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.