fs.add(datePanel1[index]);
if (parameter.getType() == ScriptParameterType.TIME_PERIOD) {
fs.add(new DivTextPanel(fs.newChildId(), " - "));
datePanel2[index] = new DatePanel(fs.newChildId(), new PropertyModel<Date>(parameter, "timePeriodValue.toDate"));
fs.add(datePanel2[index]);
quickSelectPanel[index] = new QuickSelectPanel(fs.newChildId(), parentPage, "quickSelect:" + index, datePanel1[index]);
fs.add(quickSelectPanel[index]);
quickSelectPanel[index].init();
}
} else if (parameter.getType() == ScriptParameterType.TASK) {
final TaskSelectPanel taskSelectPanel = new TaskSelectPanel(fs, new PropertyModel<TaskDO>(parameter, "task"), parentPage, "taskId:"