Package fr.openwide.core.wicket.more.markup.html.form

Examples of fr.openwide.core.wicket.more.markup.html.form.LabelPlaceholderBehavior


    final ArtifactDropDownChoice artifactDropDown = new ArtifactDropDownChoice("artifact", emptyArtifactModel,
        new ProjectArtifactSelect2AjaxAdapter(ArtifactDropDownChoice.CHOICE_RENDERER));
    artifactDropDown.setWidth(DropDownChoiceWidth.NORMAL);
    artifactDropDown.setRequired(true);
    artifactDropDown.setLabel(new ResourceModel("project.description.artifacts.chooseOne"));
    artifactDropDown.add(new LabelPlaceholderBehavior());
    artifactDropDown.add(new AuthenticatedOnlyBehavior());
   
    final Form<Artifact> addArtifactForm = new StatelessForm<Artifact>("addArtifactForm", emptyArtifactModel) {
      private static final long serialVersionUID = 1L;
View Full Code Here


   
    userNameField = new EmailTextField("userName", Model.of(""));
    userNameField.setRequired(true);
    userNameField.setOutputMarkupId(true);
    userNameField.setLabel(new ResourceModel("home.identification.classic.email"));
    userNameField.add(new LabelPlaceholderBehavior());
    signInForm.add(userNameField);
   
    passwordField = new PasswordTextField("password", Model.of(""));
    passwordField.setLabel(new ResourceModel("home.identification.classic.password"));
    passwordField.add(new LabelPlaceholderBehavior());
    signInForm.add(passwordField);
   
    // Registration link
    signInForm.add(new BookmarkablePageLink<Void>("classicRegisterLink", RegisterPage.class));
    signInForm.add(new BookmarkablePageLink<Void>("forgottenPasswordLink", ForgottenPasswordPage.class));
View Full Code Here

   
    userNameModel = Model.of("");
    EmailTextField userNameField = new EmailTextField("userName", userNameModel);
    userNameField.setRequired(true);
    userNameField.setLabel(new ResourceModel("home.identification.classic.email"));
    userNameField.add(new LabelPlaceholderBehavior());
    form.add(userNameField);
   
    form.add(new SubmitLink("submit"));
  }
View Full Code Here

   
    userNameField = new EmailTextField("userName", Model.of(""));
    userNameField.setRequired(true);
    userNameField.setOutputMarkupId(true);
    userNameField.setLabel(new ResourceModel("home.identification.classic.email"));
    userNameField.add(new LabelPlaceholderBehavior());
    signInForm.add(userNameField);
   
    passwordField = new PasswordTextField("password", Model.of(""));
    passwordField.setLabel(new ResourceModel("home.identification.classic.password"));
    passwordField.add(new LabelPlaceholderBehavior());
    signInForm.add(passwordField);
   
    // Registration link
    signInForm.add(new BookmarkablePageLink<Void>("classicRegisterLink", RegisterPage.class));
    signInForm.add(new BookmarkablePageLink<Void>("forgottenPasswordLink", ForgottenPasswordPage.class));
View Full Code Here

    IModel<ArtifactNotificationRuleType> typeModel = Model.of(ArtifactNotificationRuleType.COMPLY);
   
    // Regex text field
    final TextField<String> regexTextField = new RequiredTextField<String>("regexInput", regexModel);
    regexTextField.setLabel(new ResourceModel("artifact.rules.field.regex"));
    regexTextField.add(new LabelPlaceholderBehavior());
    addRuleForm.add(regexTextField);
   
    // Type dropdown
    final ArtifactNotificationRuleTypeDropDownChoice typeDropDown = new ArtifactNotificationRuleTypeDropDownChoice("type", typeModel);
    typeDropDown.setRequired(true);
View Full Code Here

   
    //  >  >  Project dropdown
    final ProjectDropDownChoice projectDropDown = new ProjectDropDownChoice("project", emptyProjectModel);
    projectDropDown.setRequired(true);
    projectDropDown.setLabel(new ResourceModel("artifact.project.chooseOne"));
    projectDropDown.add(new LabelPlaceholderBehavior());
    projectForm.add(projectDropDown);
   
    //  >  >  Project form AJAX submit link
    projectForm.add(new AjaxSubmitLink("addToProject", projectForm) {
      private static final long serialVersionUID = 1L;
View Full Code Here

TOP

Related Classes of fr.openwide.core.wicket.more.markup.html.form.LabelPlaceholderBehavior

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.