final MinMaxNumberField<Integer> progressField = new MinMaxNumberField<Integer>("progress", new PropertyModel<Integer>(ganttObject,
"progress"), 0, 100) {
@Override
public IConverter getConverter(final Class type)
{
return new IntegerPercentConverter(0);
}
};
addColumn(item, progressField, null);
new RejectSaveLinksFragment("rejectSaveProgress", item, progressField, task,
task != null ? NumberHelper.getAsString(task.getProgress()) : "") {