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

Examples of org.apache.wicket.markup.html.form.DropDownChoice


      // create components

      RootSubSegmentsModel rootSubSegmentsModel = new RootSubSegmentsModel();

      DropDownChoice rootSubSegmentsDropDownChoice;
      TextField queryTextField;

      rootSubSegmentsDropDownChoice = new DropDownChoice("rootSubSegment", rootSubSegmentsModel, (IChoiceRenderer) rootSubSegmentsModel);
      rootSubSegmentsDropDownChoice.setLabel(new Model("Root namespace"));
      rootSubSegmentsDropDownChoice.setRequired(true);

      queryTextField = new TextField("query");
      queryTextField.setLabel(new Model("Query"));
      queryTextField.setRequired(true);
View Full Code Here


      // create components

      RootSubSegmentsModel rootSubSegmentsModel = new RootSubSegmentsModel();

      DropDownChoice rootSubSegmentsDropDownChoice;

      rootSubSegmentsDropDownChoice = new DropDownChoice("rootSubSegment", rootSubSegmentsModel, (IChoiceRenderer) rootSubSegmentsModel);
      rootSubSegmentsDropDownChoice.setLabel(new Model("Root namespace"));
      rootSubSegmentsDropDownChoice.setRequired(true);

      // create and add components

      this.add(rootSubSegmentsDropDownChoice);
      this.add(new CheckBox("signed"));
View Full Code Here

      SEPTemplatesModel importSEPTemplatesModel = new SEPTemplatesModel();

      this.serviceTextArea = new TextArea("service");
      this.serviceTextArea.setOutputMarkupId(true);
      this.templateDropDownChoice = new DropDownChoice("template", new Model(new Service()), importSEPTemplatesModel, importSEPTemplatesModel);
      this.loadTemplateButton = new AjaxSubmitLink("loadTemplateButton", this) {

        private static final long serialVersionUID = -4311234326704642467L;

        @Override
View Full Code Here

      // create components

      AllAuthoritiesModel allAuthoritiesModel = new AllAuthoritiesModel();
     
      DropDownChoice parentAuthorityDropDownChoice;
      TextField nameTextField;
     
      parentAuthorityDropDownChoice = new DropDownChoice("parentAuthority", allAuthoritiesModel, (IChoiceRenderer) allAuthoritiesModel);
      parentAuthorityDropDownChoice.setLabel(new Model("Parent Authority"));

      nameTextField = new TextField("name");
      nameTextField.setLabel(new Model("Subsegment name"));
      nameTextField.setRequired(true);
     
View Full Code Here

      // create

      AllAuthoritiesModel allAuthoritiesModel = new AllAuthoritiesModel();

      DropDownChoice parentAuthorityDropDownChoice;
      DropDownChoice authorityDropDownChoice;
      TextField nameTextField;
     
      parentAuthorityDropDownChoice = new DropDownChoice("parentAuthority", allAuthoritiesModel, (IChoiceRenderer) allAuthoritiesModel);
      parentAuthorityDropDownChoice.setLabel(new Model("Parent Authority"));
     
      authorityDropDownChoice = new DropDownChoice("authority", allAuthoritiesModel, (IChoiceRenderer) allAuthoritiesModel);
      authorityDropDownChoice.setLabel(new Model("Authority"));
      authorityDropDownChoice.setRequired(true);

      nameTextField = new TextField("name");
      nameTextField.setLabel(new Model("Subsegment name"));
      nameTextField.setRequired(true);
     
View Full Code Here

      SEPTemplatesModel importSEPTemplatesModel = new SEPTemplatesModel();

      this.serviceTextArea = new TextArea("service");
      this.serviceTextArea.setOutputMarkupId(true);
      this.templateDropDownChoice = new DropDownChoice("template", new Model(new Service()), importSEPTemplatesModel, importSEPTemplatesModel);
      this.loadTemplateButton = new AjaxSubmitLink("loadTemplateButton", this) {

        private static final long serialVersionUID = -4311234326704642467L;

        @Override
View Full Code Here

        return MINUTES_CONVERTER;
      }
    });
    minutesField.add(NumberValidator.range(0, 59));
    minutesField.setLabel(new Model("minutes"));
    add(amOrPmChoice = new DropDownChoice("amOrPmChoice", new PropertyModel(this, "amOrPm"),
        Arrays.asList(AM_PM.values())));
  }
View Full Code Here

        new PropertyModel(this, "hours"), Integer.class));
    hoursField.add(NumberValidator.range(0, 12));
    add(minutesField = new TextField("minutes", new PropertyModel(this,
        "minutes"), Integer.class));
    minutesField.add(NumberValidator.range(0, 60));
    add(amOrPmChoice = new DropDownChoice("amOrPmChoice",
        new PropertyModel(this, "amOrPm"), Arrays
            .asList(AM_PM.values())));
  }
View Full Code Here

    add(f);
    f.add(new Label("a"));
    f.add(new TextField<String>("txt1"));
    f.add(new TextField("txt2"));
    f.add(new CheckBox("booleanProperty"));
    f.add(new DropDownChoice("sel"));
    f.add(new Button("submit"));
    f.add(newLabel(LE_STRING));

    f.add(newPanel("panel"));
    getWhat("panel");
View Full Code Here

        container.add(table);

        Form paginatorForm = new Form("PaginatorForm");

        final DropDownChoice rowsChooser = new DropDownChoice("rowsChooser", new PropertyModel(this, "paginatorRows"),
                prefMan.getPaginatorChoices());

        rowsChooser.add(new AjaxFormComponentUpdatingBehavior(Constants.ON_CHANGE) {

            private static final long serialVersionUID = -1107858522700306810L;

            @Override
            protected void onUpdate(final AjaxRequestTarget target) {
View Full Code Here

TOP

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

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.