Examples of PollEventDisabledChoiceProvider


Examples of org.projectforge.plugins.poll.event.PollEventDisabledChoiceProvider

   */
  private void createDisabledChoices(final FieldsetPanel fieldset, final List<PollEventDO> modelList)
  {
    final MultiChoiceListHelper<PollEventDO> assignHelper = new MultiChoiceListHelper<PollEventDO>().setAssignedItems(modelList);
    final Select2MultiChoice<PollEventDO> multiChoices = new Select2MultiChoice<PollEventDO>(fieldset.getSelect2MultiChoiceId(),
        new PropertyModel<Collection<PollEventDO>>(assignHelper, "assignedItems"), new PollEventDisabledChoiceProvider(modelList));
    fieldset.add(multiChoices);
    multiChoices.setEnabled(false);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.