Package fr.openwide.maven.artifact.notifier.web.application.artifact.component

Examples of fr.openwide.maven.artifact.notifier.web.application.artifact.component.ArtifactDeprecationStatusDropDownChoice


    };
   
    TextField<String> searchInput = new TextField<String>("searchInput", this.searchTermModel);
    form.add(searchInput);
   
    ArtifactDeprecationStatusDropDownChoice deprecationField = new ArtifactDeprecationStatusDropDownChoice("deprecation", deprecationModel) {
      private static final long serialVersionUID = 1L;

      @Override
      protected void fillSelect2Settings(Select2Settings settings) {
        super.fillSelect2Settings(settings);
        settings.setAllowClear(true);
      }
    };
    deprecationField.setNullValid(true);
    form.add(deprecationField);
   
    form.add(new SubmitLink("submit"));
   
    add(form);
View Full Code Here


      }
    });
    relatedArtifactField.setLabel(new ResourceModel("artifact.deprecation.field.relatedArtifact"));
    relatedArtifactContainer.add(relatedArtifactField);
   
    ArtifactDeprecationStatusDropDownChoice deprecatedField = new ArtifactDeprecationStatusDropDownChoice("deprecationStatus",
        BindingModel.of(form.getModel(), Binding.artifact().deprecationStatus()));
    deprecatedField.setWidth(DropDownChoiceWidth.SMALL);
    deprecatedField.setLabel(new ResourceModel("artifact.deprecation.field.deprecationStatus"));
   
    relatedArtifactField.add(new AjaxInputPrerequisiteEnabledBehavior<ArtifactDeprecationStatus>(deprecatedField)
        .setObjectValidPredicate(PREDICATE)
        .setRefreshParent(true));
    form.add(deprecatedField);
View Full Code Here

TOP

Related Classes of fr.openwide.maven.artifact.notifier.web.application.artifact.component.ArtifactDeprecationStatusDropDownChoice

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.