Examples of Kost2SelectPanel


Examples of org.projectforge.web.fibu.Kost2SelectPanel

            .addValue(Boolean.TRUE, getString("task.kost2list.blackList"));
        kost2listTypeChoice = new DropDownChoice<Boolean>(fs.getDropDownChoiceId(), new PropertyModel<Boolean>(data, "kost2IsBlackList"),
            kost2listTypeChoiceRenderer.getValues(), kost2listTypeChoiceRenderer);
        kost2listTypeChoice.setNullValid(false);
        fs.add(kost2listTypeChoice);
        final Kost2SelectPanel kost2SelectPanel = new Kost2SelectPanel(fs.newChildId(), new PropertyModel<Kost2DO>(this, "kost2Id"),
            parentPage, "kost2Id") {
          @Override
          protected void beforeSelectPage(final PageParameters parameters)
          {
            super.beforeSelectPage(parameters);
            if (projekt != null) {
              parameters.add(Kost2ListPage.PARAMETER_KEY_STORE_FILTER, false);
              parameters.add(Kost2ListPage.PARAMETER_KEY_SEARCH_STRING, "nummer:" + projekt.getKost() + ".*");
            }
          }
        };
        fs.add(kost2SelectPanel);
        kost2SelectPanel.init();
      }
      {
        // Time sheet booking status drop down box:
        final FieldsetPanel fs = innerGridBuilder.newFieldset(getString("task.timesheetBooking"));
        final LabelValueChoiceRenderer<TimesheetBookingStatus> timesheetBookingStatusChoiceRenderer = new LabelValueChoiceRenderer<TimesheetBookingStatus>(
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.