gridBuilder.newGridPanel();
{
final DivPanel section = gridBuilder.getPanel();
section.add(new Heading3Panel(section.newChildId(), String.valueOf(number++) + ". " + getString("task")));
final FieldsetPanel fs = gridBuilder.newFieldset(getString("task"));
final TaskSelectPanel taskSelectPanel = new TaskSelectPanel(fs, new PropertyModel<TaskDO>(this, "task"), parentPage, "taskId");
fs.add(taskSelectPanel);
taskSelectPanel.setShowFavorites(false).init();
taskSelectPanel.setRequired(true);
final Button createTaskButton = new Button(SingleButtonPanel.WICKET_ID, new Model<String>("createTask")) {
@Override
public final void onSubmit()
{
final PageParameters params = new PageParameters();