Package org.apache.wicket.extensions.yui.calendar

Examples of org.apache.wicket.extensions.yui.calendar.DateField


    
      public HotelBookingForm(String id)
      {
         super(id);
         add(new ComponentFeedbackPanel("messages", this));
         add(new FormInputBorder("checkinDateBorder", "Check in date", new DateField("checkinDate").setRequired(true), new PropertyModel(booking, "checkinDate"), false));
         add(new FormInputBorder("checkoutDateBorder", "Check out date", new DateField("checkoutDate").setRequired(true), new PropertyModel(booking, "checkoutDate"), false));
         add(new FormInputBorder("bedsBorder", "Room Preference", new DropDownChoice("beds", bedOptions, new IChoiceRenderer()
         {

            public Object getDisplayValue(Object object)
            {
View Full Code Here


    this.add(new Label("id"));
    this.add(new RequiredTextField("titreFrancais"));
    this.add(new RequiredTextField("titreAnglais"));
    this.add(new TextArea("descriptionFrancais"));
    this.add(new TextArea("descriptionAnglais"));
    this.add(new DateField("beginDate"));
    this.add(new DateField("endDate"));
    this.add(new CheckBox("ispublic"));
    this.add(new CheckBox("isprivate"));
    this.add(new CheckBox("active"));

    this.add(new Button("ok")
View Full Code Here

    this.add(urlRedirectionField = new TextField("urlRedirection"));
    urlRedirectionField
        .setRequired(evenement.isRedirigerApresTransaction());
    urlRedirectionField.setEnabled(evenement.isRedirigerApresTransaction());

    this.add(new DateField("dateDebut"));
    this.add(new DateField("dateFin"));

    this.add(new HeuresDropDownChoice("heureFin").setRequired(true));
    this.add(new MinutesDropDownChoice("minuteFin").setRequired(true));

    this.add(new Button("ok")
View Full Code Here

    options.setDateDebut(new Date());
    options.setDateFin(new Date());

    Form form = new Form("form", new CompoundPropertyModel(options));

    form.add(new DateField("dateDebut").setRequired(true));
    form.add(new DateField("dateFin").setRequired(true));
    form.add(new Button("generer")
    {
      private static final long serialVersionUID = 1L;

      @Override
View Full Code Here

    item
        .add(new TextField("prix", new PropertyModel(line,
            "prixRegulier")));
    item.add(new TextField("prixAvant", new PropertyModel(line,
        "prixAvantDate")));
    item.add(new DateField("dateAvant",
        new PropertyModel(line, "dateAvant")));

    item.add(new TextField("prixApres", new PropertyModel(line,
        "prixApresDate")));
    item.add(new DateField("dateApres",
        new PropertyModel(line, "dateApres")));

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

    form.add(new Label("prix", new PropertyModel(this.article, "prix")));

    form.add(new CheckBox("traite", new PropertyModel(this.article,
        "traite")));

    form.add(new DateField("dateTraitement", new PropertyModel(
        this.article, "dateTraitement")));

    form.add(new Button("submit", new ResourceModel("submit"))
    {
      private static final long serialVersionUID = 1L;
View Full Code Here

      protected boolean wantOnSelectionChangedNotifications()
      {
        return true;
      }
    });
    form.add(dateDebut = new DateField("dateDebut"));
    form.add(dateFin = new DateField("dateFin"));
    this.add(form);

    updateFields();
  }
View Full Code Here

  private void createComponents()
  {
    add(new TextField("code").setRequired(true));
    add(new TextField("nom").setRequired(true));
    add(new TextArea("description"));
    add(new DateField("dateDebut").setRequired(true));
    add(new DateField("dateFin"));
  }
View Full Code Here

  {
    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"));

    form.add(new ZoneDropDownChoice("zone", new PropertyModel(publicite,
View Full Code Here

  }

  protected void createComponents()
  {

    DateField dfDtDebut = new DateField("dtDebut", new PropertyModel(this,
        "dtDebut"));
    dfDtDebut.setLabel(new Model("Date de début"));
    dfDtDebut.setRequired(true);

    this.add(dfDtDebut);

    DateField dfDtFin = new DateField("dtFin", new PropertyModel(this,
        "dtFin"));
    dfDtFin.setLabel(new Model("Date de fin"));
    dfDtFin.setRequired(true);

    this.add(dfDtFin);

    final ChoiceRenderer choiceRenderer = new ChoiceRenderer("key", "value");
    List<BooleanOption> options = new ArrayList<BooleanOption>();
View Full Code Here

TOP

Related Classes of org.apache.wicket.extensions.yui.calendar.DateField

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.