Пример #1
0
 public IPage addSchedule(IRequestCycle cycle) {
   EditSchedule page = (EditSchedule) cycle.getPage(EditSchedule.PAGE);
   page.setUserId(null);
   page.setUserGroup(getSettingDao().getGroup(getGroupId()));
   page.newSchedule("usrGroup_sch", PAGE);
   return page;
 }
Пример #2
0
 public IPage editSchedulesGroup(IRequestCycle cycle, Integer scheduleId) {
   EditSchedule page = (EditSchedule) cycle.getPage(EditSchedule.PAGE);
   page.editSchedule(scheduleId, PAGE);
   return page;
 }