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

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


    super(id, new CompoundPropertyModel<LdapConfig>(ldapConfig));
    setOutputMarkupId(true);
    this.listContainer = listContainer;
   
    add(new RequiredTextField<String>("name"));
    add(new CheckBox("isActive"));
    add(DateLabel.forDatePattern("inserted", "dd.MM.yyyy HH:mm:ss"));
    add(new Label("insertedby.login"));
    add(DateLabel.forDatePattern("updated", "dd.MM.yyyy HH:mm:ss"));
    add(new Label("updatedby.login"));
    add(new RequiredTextField<String>("configFileName"));
    add(new CheckBox("addDomainToUserName"));
    add(new TextField<String>("domain"));
    add(new TextArea<String>("comment"));

    // attach an ajax validation behavior to all form component's keydown
    // event and throttle it down to once per second
View Full Code Here


      // Add one file input field
      fileUploadField = new FileUploadField("fileInput");
      add(fileUploadField);

      includeFilesInBackup = new CheckBox("includeFilesInBackup",
          Model.of(true));
      add(includeFilesInBackup);

      // Set maximum size controlled by configuration
      setMaxSize(Bytes.bytes(ImportHelper.getMaxUploadSize(Application
View Full Code Here

        RoomManager.class).getAllRoomTypes(),
        new ChoiceRenderer<RoomType>("name", "roomtypes_id")));

    add(new TextArea<String>("comment"));

    add(new CheckBox("appointment"));
    add(new CheckBox("ispublic"));

    List<Organisation> orgList = Application.getBean(
        OrganisationManager.class).getOrganisations(3L);
    List<RoomOrganisation> orgRooms = new ArrayList<RoomOrganisation>(
        orgList.size());
    for (Organisation org : orgList) {
      orgRooms.add(new RoomOrganisation(org));
    }
    ListMultipleChoice<RoomOrganisation> orgChoiceList = new ListMultipleChoice<RoomOrganisation>(
        "roomOrganisations", orgRooms,
        new ChoiceRenderer<RoomOrganisation>("organisation.name",
            "organisation.organisation_id"));
    orgChoiceList.setMaxRows(6);
    add(orgChoiceList);

    add(new CheckBox("isDemoRoom"));
    TextField<Integer> demoTime = new TextField<Integer>("demoTime");
    demoTime.setLabel(new Model<String>(WebSession.getString(637)));
    add(demoTime);
    add(new CheckBox("allowUserQuestions"));
    add(new CheckBox("isAudioOnly"));
    add(new CheckBox("isClosed"));
    add(new TextField<String>("redirectURL"));
    add(new CheckBox("waitForRecording"));
    add(new CheckBox("allowRecording"));

    add(new CheckBox("hideTopBar"));
    add(new CheckBox("hideChat"));
    add(new CheckBox("hideActivitiesAndActions"));
    add(new CheckBox("hideFilesExplorer"));
    add(new CheckBox("hideActionsMenu"));
    add(new CheckBox("hideScreenSharing"));
    add(new CheckBox("hideWhiteboard"));
    add(new CheckBox("showMicrophoneStatus"));
    add(new CheckBox("chatModerated"));
    add(new CheckBox("chatOpened"));
    add(new CheckBox("filesOpened"));
    add(new CheckBox("autoVideoSelect"));
   
    // FIXME: Room user moderator list

    add(new CheckBox("isModeratedRoom"));
   

    // attach an ajax validation behavior to all form component's keydown
    // event and throttle it down to once per second
    AjaxFormValidatingBehavior.addToAllFormComponents(this, "keydown",
View Full Code Here

        }));

    add(DateLabel.forDatePattern("starttime", "dd.MM.yyyy HH:mm:ss"));
    add(DateLabel.forDatePattern("updatetime", "dd.MM.yyyy HH:mm:ss"));

    add(new CheckBox("forceTimeZoneCheck"));
    RequiredTextField<String> email = new RequiredTextField<String>(
        "adresses.email");
    // email.setLabel(new Model<String>("testemail"));
    email.add(EmailAddressValidator.getInstance());
    add(email);
    add(new TextField<String>("adresses.phone"));
    add(new CheckBox("sendSMS"));
    DateTextField age = new DateTextField("age");
    DatePicker datePicker = new DatePicker() {
      private static final long serialVersionUID = 1L;

      @Override
View Full Code Here

        }
      }
      add(new FeedbackPanel("feedback"));
      add(new RequiredTextField<String>("login", new PropertyModel<String>(this, "login")));
      add(new PasswordTextField("pass", new PropertyModel<String>(this, "password")).setResetPassword(true));
      add(new CheckBox("rememberMe", new PropertyModel<Boolean>(this, "rememberMe")).setOutputMarkupId(true));
      add(new HiddenField<String>("area", new PropertyModel<String>(this, "area"))
          .setMarkupId("area")
          .setOutputMarkupId(true));
    }
View Full Code Here

        "authorFeedback");
      add(authorFeedback);
      authorFeedback.add(author);

      // Add fiction checkbox
      add(new CheckBox("fiction"));

      // Books is everything but otherBook
      List<Book> books = new ArrayList<Book>();

      books.addAll(Book.getBooks());
View Full Code Here

    super(id, new CompoundPropertyModel<Server>(server));
    setOutputMarkupId(true);
    this.listContainer = listContainer;

    add(new RequiredTextField<String>("name"));
    add(new CheckBox("active"));
    add(new RequiredTextField<String>("address"));
    add(new TextField<Integer>("port"));
    add(new TextField<String>("user"));
    add(new TextField<String>("pass"));
    add(new TextField<String>("webapp"));
View Full Code Here

          "authorFeedback");
      add(authorFeedback);
      authorFeedback.add(author);

      // Add fiction checkbox
      add(new CheckBox("fiction"));

      // Books is everything but otherBook
      List books = new ArrayList();

      books.addAll(Book.getBooks());
View Full Code Here

      super(new ResourceModel("userdetails.title"), null);
      setSummaryModel(new StringResourceModel("userdetails.summary", this, new Model(user)));
      add(new RequiredTextField("user.firstName"));
      add(new RequiredTextField("user.lastName"));
      add(new TextField("user.department"));
      add(new CheckBox("assignRoles"));
    }
View Full Code Here

    };
    add(form);

    // add a check box component that uses the model object's 'bool'
    // property.
    form.add(new CheckBox("bool"));
  }
View Full Code Here

TOP

Related Classes of org.apache.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.