the parent from which a new work week derives, must be specified.
FEA: ItEr75S05CalendarAdminInterfaceItEr74S06
This commit is contained in:
parent
bf4ac9a147
commit
7a1a2e59d4
2 changed files with 4 additions and 0 deletions
|
|
@ -949,6 +949,9 @@ public abstract class BaseCalendarEditionController extends
|
|||
if (isDerived()) {
|
||||
Combobox parentCalendars = (Combobox) createNewVersionWindow
|
||||
.getFellow("parentCalendars");
|
||||
if (parentCalendars.getSelectedItem() == null) {
|
||||
return;
|
||||
}
|
||||
selected = (BaseCalendar) parentCalendars.getSelectedItem()
|
||||
.getValue();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
<label value="${i18n:_('Type')}:"/>
|
||||
<label value="@{calendarController.editionController.calendarType}"/>
|
||||
<combobox id="parentCalendars"
|
||||
constraint="no empty:${i18n:_('cannot be null or empty')}"
|
||||
model="@{calendarController.editionController.parentCalendars}">
|
||||
<comboitem self="@{each='baseCalnedar'}"
|
||||
value="@{baseCalnedar}" label="@{baseCalnedar.name}" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue