Package wicket.markup.html.basic

Examples of wicket.markup.html.basic.Label


    }
  }

  private void displayPersonne()
  {
    this.add(new Label("nom", new PropertyModel(this.personne, "nom")));
    this
        .add(new Label("prenom", new PropertyModel(this.personne,
            "prenom")));
    this.add(new Label("adresse", new PropertyModel(this.personne,
        "adresse")));
    this.add(new Label("ville", new PropertyModel(this.personne, "ville")));
    this.add(new Label("province", new PropertyModel(this.personne,
        "province")));
    this.add(new Label("pays", new PropertyModel(this.personne, "pays")));
    this.add(new Label("codepostal", new PropertyModel(this.personne,
        "codePostal")));
    this.add(new Label("telephone", new PropertyModel(this.personne,
        "telephone")));
    this.add(new Label("sexe", new PropertyModel(this.personne, "sexe")));
    this.add(new Label("dateNaissance", new PropertyModel(this.personne,
        "dateNaissance")));
    this.add(new Label("courriel", new PropertyModel(this.personne,
        "courriel")));
    this.add(new Label("nationalite", new PropertyModel(this.personne,
    "nationalite")));
  }
View Full Code Here


  }

  private void createComponent()
  {
    this.add(new Label("prenom", new PropertyModel(this.updatePersonne,
        "prenom")));
    this.add(new Label("nom", new PropertyModel(this.updatePersonne, "nom")));

    this.add(new RequiredTextField("adresse", new PropertyModel(
        this.updatePersonne, "adresse")).setLabel(new Model("Adresse")));
    this.add(new RequiredTextField("ville", new PropertyModel(
        this.updatePersonne, "ville")).setLabel(new Model("Ville")));
    this.add(new RequiredTextField("province", new PropertyModel(
        this.updatePersonne, "province")).setLabel(new Model("Province")));
    this.add(HomePage.link("cancel", DisplayPersonnePanel.class,
        this.session.getUser().getPersonneOidMap()));
    this.add(new PaysDropDownChoice("pays", new PropertyModel(
        this.updatePersonne, "pays")).setLabel(new Model("Pays"))
        .setRequired(true));

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

    this.add(new RequiredTextField("telephone", new PropertyModel(
        this.updatePersonne, "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 Label("sexe", new PropertyModel(this.updatePersonne, "sexe")));
   
    this.add(new Label("dateNaissance", new PropertyModel(this.updatePersonne, "dateNaissance")));

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

  }

  private void createComponent()
  {
    this.add(new Label("nom", new PropertyModel(this.personne, "nom")));
    this
        .add(new Label("prenom", new PropertyModel(this.personne,
            "prenom")));

  }
View Full Code Here

    map.put( ConfirmationCopiePanel.TypeParameters.COURSE, this.course);
    map.put( ConfirmationCopiePanel.TypeParameters.COURSEACOPIER, course);
    item.add(HomePage.link("selection", ConfirmationCopiePanel.class, map));
   
    //Autres propriétés
    item.add(new Label("nomCourse", new PropertyModel(course, "nom")));
    item.add(new Label("nomEvenement", new PropertyModel(course.getEvenement(), "nom")));
   }
View Full Code Here

    map.put( ChoixCourse.TypeParameters.COURSE, this.course);
    map.put( ChoixCourse.TypeParameters.SAISON, saison);
    item.add(HomePage.link("selection", ChoixCourse.class, map));
   
    //Autres propriétés
    item.add(new Label("nom", new PropertyModel(saison, "nom")));
    item.add(new Label("annee", new PropertyModel(saison, "annee")));
   }
View Full Code Here

  protected void populateItem(final ListItem item) {
    try {
      Topic topic = (Topic) item.getModelObject();
      String title = topic.getName().toUpperCase();
      Label topicNameLabel = new Label("topicName", title);
      item.add(topicNameLabel);

      ModelContext linkModelContext = new ModelContext(modelContext);
      Links topicLinks = (Links) topic.getLinks();
      Links approvedOrderedLinks = (Links) topicLinks.getApprovedLinks()
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 entryUpdateTableListModelContext = new ModelContext(
          modelContext);

      ViewContext entryUpdateTableListViewContext = new ViewContext(
View Full Code Here

      App app = (App) getApplication();
      add(app.getViewMeta().getHomePageMenuPanel("homePageMenuPanel"));
      ModelConfig modelConfig = app.getDomainModel().getModelConfig();
      String modelDescriptionKey = modelConfig.getCode() + ".description";
      String modelDescription = getLocalizer().getString(modelDescriptionKey, this);
      add(new Label("modelDescription", modelDescription));
    } catch (Exception e) {
      log.error("Error in HomePage: " + e.getMessage());
    }
  }
View Full Code Here

      ConceptConfig lookupConceptConfig = lookupEntities
          .getConceptConfig();

      String conceptsKey = lookupConceptConfig.getEntitiesCode();
      String conceptsName = getLocalizer().getString(conceptsKey, this);
      add(new Label("conceptsName", conceptsName));

      List<String> conceptEssentialPropertyNames = new ArrayList<String>();
      List<String> conceptEssentiaPropertyCodes = lookupEntities
          .getConceptConfig().getConceptCodeEssentialPropertyCodes();
      String conceptPropertyName;
View Full Code Here

   *            Wicket id
   */
  public DmLiteEntryDescriptionPanel(final String wicketId) {
    super(wicketId);
    String dmLiteDescription = getLocalizer().getString("dmLite.description", this);
    add(new Label("dmLiteDescription", dmLiteDescription));
    add(new Image("model1"));
    add(new Image("model2"));
    add(new Image("model3"));
  }
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.