objectTypeChoiceRenderer.addValue(GanttObjectType.SUMMARY, getString(GanttObjectType.SUMMARY.getI18nKey() + ".short"));
final DropDownChoice<GanttObjectType> objectTypeChoice = new DropDownChoice<GanttObjectType>("type",
new PropertyModel<GanttObjectType>(ganttObject, "type"), objectTypeChoiceRenderer.getValues(), objectTypeChoiceRenderer);
objectTypeChoice.setNullValid(true);
addColumn(item, objectTypeChoice, null);
final GanttObjectType type = task != null ? task.getGanttObjectType() : null;
new RejectSaveLinksFragment("rejectSaveType", item, objectTypeChoice, task, type != null ? getString(type.getI18nKey()) : "") {
@Override
protected void onSave()
{
task.setGanttObjectType(ganttObject.getType());
taskDao.update(task);