.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>(