Package wicket.markup.html.form

Examples of wicket.markup.html.form.CheckBox


    super(wicketId, new Model());
    try {
      add(new Label("title", title));
      keywordsField = new TextField("keywords", new Model(keywords));
      add(keywordsField);
      andKeywordsBox = new CheckBox("and", new Model(andKeywords));
      add(andKeywordsBox);
    } catch (Exception e) {
      log.error("Error in KeywordSelectionForm: " + title + " - "
          + e.getMessage());
    }
View Full Code Here


    this.createComponents();
  }

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

  @Override
  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

        .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

        new PropertyModel(line, "plaqueMax")));
    item.add(new TextField("plaqueGeleMin", new PropertyModel(line,
        "plaqueGeleMin")));
    item.add(new TextField("plaqueGeleMax", new PropertyModel(line,
        "plaqueGeleMax")));
    item.add(new CheckBox("participante", new PropertyModel(line,
        "participante")));
  }
View Full Code Here

        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);
    params.put(GestionEvenementsPanel.Parameters.IS_NEW, false);
View Full Code Here

  @Override
  protected void populateItem(final ListItem item)
  {
    final ClubLine line = (ClubLine) item.getModelObject();
    CheckBox checkBox;

    item.add(new Label("nomComplet", line.getNomComplet()));

    checkBox = new CheckBox("etat", new PropertyModel(line, "etat"));

    item.add(checkBox);
  }
View Full Code Here

    }
    else
    {
      item.add(new Label("prix", ""));
    }
    item.add(new CheckBox("estPresent", new PropertyModel(line, "participante")));
   }
View Full Code Here

      } else {
        entity = modelContext.getEntity();
      }
      PropertyConfig propertyConfig = modelContext.getPropertyConfig();

      checkBox = new CheckBox("propertyValue", new PropertyModel(entity,
          propertyConfig.getCode()));
      add(checkBox);
    } catch (Exception e) {
      log.error("Error in CheckBoxPanel: "
          + modelContext.getPropertyCode() + " - " + e.getMessage());
View Full Code Here

TOP

Related Classes of wicket.markup.html.form.CheckBox

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.