public UimaStringTraitsEditor(String aId, IModel<AnnotationFeature> aFeature) { super(aId); DropDownChoice<TagSet> tagset = new BootstrapSelect<>("tagset"); tagset.setOutputMarkupPlaceholderTag(true); tagset.setOutputMarkupId(true); tagset.setChoiceRenderer(new ChoiceRenderer<>("name")); tagset.setNullValid(true); tagset.setModel(PropertyModel.of(aFeature, "tagset")); tagset.setChoices(LoadableDetachableModel.of(() -> annotationService .listTagSets(aFeature.getObject().getProject()))); add(tagset); } }
public UimaStringTraitsEditor(String aId, IModel<AnnotationFeature> aFeature) { super(aId); DropDownChoice<TagSet> tagset = new BootstrapSelect<>("tagset"); tagset.setOutputMarkupPlaceholderTag(true); tagset.setOutputMarkupId(true); tagset.setChoiceRenderer(new ChoiceRenderer<>("name")); tagset.setNullValid(true); tagset.setModel(PropertyModel.of(aFeature, "tagset")); tagset.setChoices(LoadableDetachableModel.of(() -> annotationService .listTagSets(aFeature.getObject().getProject()))); add(tagset); } }
performanceTypeDropDown.setOutputMarkupPlaceholderTag(true); fs.add(performanceTypeDropDown); performanceDropDowns.add(performanceTypeDropDown);
tagset.setOutputMarkupPlaceholderTag(true); tagset.setOutputMarkupId(true); tagset.setChoiceRenderer(new ChoiceRenderer<>("name"));
tagset.setOutputMarkupPlaceholderTag(true); tagset.setOutputMarkupId(true); tagset.setChoiceRenderer(new ChoiceRenderer<>("name"));
tagSet.setOutputMarkupPlaceholderTag(true);
attachTypes.setOutputMarkupPlaceholderTag(true); add(attachTypes); validationMode.setOutputMarkupPlaceholderTag(true); validationMode.setChoiceRenderer(new EnumChoiceRenderer<>(this)); validationMode.setChoices(Arrays.asList(ValidationMode.values())); anchoringMode.setOutputMarkupPlaceholderTag(true); anchoringMode.setChoiceRenderer(new EnumChoiceRenderer<>(this)); anchoringMode.setChoices(Arrays.asList(AnchoringMode.values()));
attributesNames); idAttributeChoice.setOutputMarkupId(true); idAttributeChoice.setOutputMarkupPlaceholderTag(true); idAttributeChoice.setRequired(true); idAttributeChoice.setVisible(isVersioningActivated); timeAttributesNames); timeAttributeChoice.setOutputMarkupId(true); timeAttributeChoice.setOutputMarkupPlaceholderTag(true); timeAttributeChoice.setRequired(true); timeAttributeChoice.setVisible(isVersioningActivated);
attachTypes.setOutputMarkupPlaceholderTag(true); add(attachTypes); anchoringMode.setOutputMarkupPlaceholderTag(true); anchoringMode.setChoiceRenderer(new EnumChoiceRenderer<>(this)); anchoringMode.setChoices(Arrays.asList(AnchoringMode.values()));
linkCompareBehaviorDropDown.setOutputMarkupPlaceholderTag(true); addUpdateAgreementTableBehavior(linkCompareBehaviorDropDown);
linkCompareBehaviorDropDown.setOutputMarkupPlaceholderTag(true); addUpdateAgreementTableBehavior(linkCompareBehaviorDropDown);
&& form.getModelObject().rule.getAccess().equals(GrantType.LIMIT)); catalogModeChoice.setOutputMarkupId(true); catalogModeChoice.setOutputMarkupPlaceholderTag(true);
}; }; attachTypes.setOutputMarkupPlaceholderTag(true); add(attachTypes);
final DropDownChoice<ModeOfPaymentType> paymentChoice = new DropDownChoice<>(fs.getDropDownChoiceId(), new PropertyModel<>(position, "modeOfPaymentType"), paymentChoiceRenderer.getValues(), paymentChoiceRenderer); paymentChoice.setOutputMarkupPlaceholderTag(true);