1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.exoplatform.calendar.webui;
18
19 import org.exoplatform.webui.application.WebuiRequestContext;
20 import org.exoplatform.webui.config.annotation.ComponentConfig;
21 import org.exoplatform.webui.core.UIComponent;
22 import org.exoplatform.webui.core.UIContainer;
23 import org.exoplatform.webui.core.lifecycle.UIContainerLifecycle;
24
25
26
27
28
29
30
31
32 @ComponentConfig(
33 lifecycle = UIContainerLifecycle.class
34 )
35 public class UICalendarContainer extends UIContainer {
36 public UICalendarContainer() throws Exception {
37 addChild(UIMiniCalendar.class, null, null) ;
38 addChild(UICalendars.class, null, null) ;
39 }
40
41 @Override
42 public void renderChildren(WebuiRequestContext context) throws Exception {
43 super.renderChildren(context);
44 }
45
46
47 public void applySeting() throws Exception {
48 for(UIComponent comp : getChildren()) {
49 if((comp instanceof CalendarView)) ((CalendarView)comp).applySeting() ;
50 }
51 }
52
53 }