setResponsePage(taskTreePage);
};
};
selectButton.setDefaultFormProcessing(false);
divContainer.add(selectButton);
selectButton.add(new IconPanel("selectHelp", IconType.TASK, getString("tooltip.selectTask")));
final SubmitLink unselectButton = new SubmitLink("unselect") {
@Override
public void onSubmit()
{
caller.unselect(selectProperty);
}
@Override
public boolean isVisible()
{
return isRequired() == false && getModelObject() != null;
}
};
unselectButton.setDefaultFormProcessing(false);
divContainer.add(unselectButton);
unselectButton.add(new IconPanel("unselectHelp", IconType.REMOVE_SIGN, getString("tooltip.unselectTask")).setColor(CSSColor.RED));
// DropDownChoice favorites
final FavoritesChoicePanel<TaskDO, TaskFavorite> favoritesPanel = new FavoritesChoicePanel<TaskDO, TaskFavorite>("favorites",
UserPrefArea.TASK_FAVORITE, tabIndex, "full text") {
@Override
protected void select(final TaskFavorite favorite)