ItEr23S08CUEdicionCalendarioLaboral: Reload properly calendar when parent is changed. Fixed issue on function to fill the parents combo.
This commit is contained in:
parent
e4eabc488a
commit
4b6afd7b3c
1 changed files with 4 additions and 2 deletions
|
|
@ -372,6 +372,7 @@ public class BaseCalendarCRUDController extends GenericForwardComposer {
|
|||
} else {
|
||||
Util.reloadBindings(createWindow);
|
||||
}
|
||||
highlightDaysOnCalendar();
|
||||
}
|
||||
|
||||
private void reloadDayInformation() {
|
||||
|
|
@ -404,11 +405,12 @@ public class BaseCalendarCRUDController extends GenericForwardComposer {
|
|||
.getFellow("parentCalendars");
|
||||
}
|
||||
|
||||
fillParentCombo(parentCalendars);
|
||||
fillParentComboAndMarkSelectedItem(parentCalendars);
|
||||
addListenerParentCombo(parentCalendars);
|
||||
}
|
||||
|
||||
private void fillParentCombo(Combobox parentCalendars) {
|
||||
private void fillParentComboAndMarkSelectedItem(Combobox parentCalendars) {
|
||||
parentCalendars.getChildren().clear();
|
||||
BaseCalendar parent = baseCalendarModel.getParent();
|
||||
|
||||
List<BaseCalendar> possibleParentCalendars = getParentCalendars();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue