Package wicket.markup.html.basic

Examples of wicket.markup.html.basic.Label


  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


  protected void createComponents(final Cart cart)
  {

    this.add(new ConfirmationListView("confirmationListView", cart));

    this.add(new Label("prixTotal", new PropertyModel(cart, "prixTotal")));

    this.add(new Button("confirmer")
    {

      private static final long serialVersionUID = 0L;
View Full Code Here

  {
    final CartItem cartItem = (CartItem) item.getModelObject();
    Tarification tarification = catPartCtrl.getTarificationByOid(cartItem
        .getTarificationOid().getUniqueNumber());

    item.add(new Label("evenementNom", new PropertyModel(tarification
        .getCourse().getEvenement(), "nom")));
    item.add(new Label("discipline", new PropertyModel(tarification
        .getCourse(), "nom")));
    item.add(new Label("courseDate", new PropertyModel(tarification
        .getCourse(), "date")));
    item.add(new Label("prix", new PropertyModel(cartItem, "prix")));
    item.add(new Label("commenditaire", new PropertyModel(this.cart,
        "commenditaire")));
    item.add(new Label("club", new PropertyModel(clubCtrl
        .getClubByOid(this.cart.getClubOid()), "nomComplet")));

  }
View Full Code Here

  @Override
  protected void populateItem(final ListItem item)
  {
    final Inscription inscription = (Inscription) item.getModelObject();

    item.add(new Label("evenementNom",
        new PropertyModel(inscription.getCourse().getEvenement(), "nom")));
    item.add(new Label("discipline", new PropertyModel(inscription.getCourse(),
        "nom")));
    item.add(new Label("date", new PropertyModel(inscription.getCourse(), "date")));
    item.add(new Label("categorieNom", new PropertyModel(inscription.getCategorie(), "nom")));

  }
View Full Code Here

          NeighborNameLabelLinkPair neighborNameLabelLinkPair = new NeighborNameLabelLinkPair();
          String neighborKey = conceptCode + "."
              + neighborConfig.getCode();
          String neighborName = getLocalizer().getString(neighborKey,
              this);
          Label neighborNameLabel = new Label("neighborName",
              neighborName);
          neighborNameLabelLinkPair
              .setNeighborNameLabel(neighborNameLabel);
          Link neighborLink;
          IDomainModel domainModel = app.getDomainModel();
View Full Code Here

    try {
      ModelConfig modelConfig = modelContext.getDomainModel()
          .getModelConfig();
      String modelKey = modelConfig.getCode();
      String modelName = getLocalizer().getString(modelKey, this);
      add(new Label("modelName", modelName));

      ModelContext entryDisplayTableListViewModelContext = new ModelContext(
          modelContext);

      ViewContext entryDisplayTableListViewContext = new ViewContext(
View Full Code Here

      throw new SystemeException(e.getMessage());
    }
    item.add(HomePage.link("selection", DisplayPlaquePersonne.class, map));
   
    //Série de labels divers...
    item.add(new Label("plaqueUnique", new PropertyModel(infoSaison, "plaqueUnique")));
    item.add(new Label("prenom", new PropertyModel(infoSaison.getPersonne(), "prenom")));
    item.add(new Label("nom", new PropertyModel(infoSaison.getPersonne(), "nom")));
    item.add(new Label("pays", new PropertyModel(infoSaison.getPersonne(), "pays")));
  }
View Full Code Here

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

    item.add(new Label("code", line.getCodeCategorie()));
    item.add(new Label("sexe", line.getSexe()));
    if (line.getPrix() !=null)
    {
      item.add(new Label("prix", line.getPrix().toString()))
    }
    else
    {
      item.add(new Label("prix", ""));
    }
    item.add(new CheckBox("estPresent", new PropertyModel(line, "participante")));
   }
View Full Code Here

    this.displayCompte();

    // Gestion de labels... uniquement.
    if (this.session.EstAdmin())
    {
      this.add(new Label("labelTitre", "Informations de l'usager"));
      this.add(HomePage.link("updatePersonne", UpdatePersonnePanel.class,
          this.parameters).setVisible(false));
      this.add(HomePage.link("updatePersonneAdmin",
          UpdatePersonnePanel.class, this.parameters)
          .setVisible(true));
    }
    else
    {
      this.add(new Label("labelTitre", "Mes informations"));
      this.add(HomePage.link("updatePersonne", UpdatePersonnePanel.class,
          this.parameters).setVisible(true));
      this.add(HomePage.link("updatePersonneAdmin",
          UpdatePersonnePanel.class, this.parameters).setVisible(
          false));
View Full Code Here

  private void displayCompte()
  {
    if (this.compte != null)
    {
      this.add(new Label("username", new PropertyModel(this.compte,
          "username")));
      if (this.session.EstAdmin())
      {
        this.add(HomePage.link("updatePasswordAdmin",
            UpdatePasswordPanel.class, this.parameters).setVisible(
            true));
        this.add(HomePage.link("updatePassword",
            UpdatePasswordPanel.class, this.parameters).setVisible(
            false));
      }
      else
      {
        this.add(HomePage.link("updatePassword",
            UpdatePasswordPanel.class, this.parameters).setVisible(
            true));
        this.add(HomePage.link("updatePasswordAdmin",
            UpdatePasswordPanel.class, this.parameters).setVisible(
            false));
      }
    }
    else
    {
      this.add(new Label("username", "Ce membre n'a pas de compte"));
      this.add(HomePage.link("updatePassword", UpdatePasswordPanel.class,
          this.parameters).setVisible(false));
      this.add(HomePage.link("updatePasswordAdmin",
          UpdatePasswordPanel.class, this.parameters).setVisible(
          false));
View Full Code Here

TOP

Related Classes of wicket.markup.html.basic.Label

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.