My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes  
Changes to /trunk/openmeetings_lps411/modules/admin/roomadmin/roomAdmin.lzx
r1628 vs. r1796 Compare: vs.  Format:
Revision r1796
Go to: 
Sign in to write a code review
/trunk/openmeetings_lps411/modules/admin/roomadmin/roomAdmin.lzx   r1628 /trunk/openmeetings_lps411/modules/admin/roomadmin/roomAdmin.lzx   r1796
1 <?xml version="1.0" encoding="UTF-8" ?> 1 <?xml version="1.0" encoding="UTF-8" ?>
2 <library> 2 <library>
3 3
4 <!--- Admin module to configure the Conference or Audience room.--> 4 <!--- Admin module to configure the Conference or Audience room.-->
5 <class name="roomAdmin" extends="baseContentView"> 5 <class name="roomAdmin" extends="baseContentView">
6 6
7 <turnOverList name="_turnoverlist" width="400" height="600" x="2" y="0" 7 <turnOverList name="_turnoverlist" width="400" height="600" x="2" y="0"
8 orderby="rooms_id" step="50" asc="true"> 8 orderby="rooms_id" step="50" asc="true">
9 9
10 <handler name="oninit"> 10 <handler name="oninit">
11 this.addHeaderItem(188,60); 11 this.addHeaderItem(188,60);
12 this.addHeaderItem(189,186); 12 this.addHeaderItem(189,186);
13 this.addHeaderItem(190,140); 13 this.addHeaderItem(190,140);
14 this.getRooms.doCall(); 14 this.getRooms.doCall();
15 </handler> 15 </handler>
16 16
17 <handler name="oncallnext" > 17 <handler name="oncallnext" >
18 this.getRooms.doCall(); 18 this.getRooms.doCall();
19 </handler> 19 </handler>
20 20
21 <handler name="oncallpre" > 21 <handler name="oncallpre" >
22 this.getRooms.doCall(); 22 this.getRooms.doCall();
23 </handler> 23 </handler>
24 24
25 <handler name="onclickedItem" args="obj"> 25 <handler name="onclickedItem" args="obj">
26 //Debug.write("onclickedItem",obj,obj.obj); 26 //Debug.write("onclickedItem",obj,obj.obj);
27 parent._roomvalueform.initValueFieldsByObject(obj.obj); 27 parent._roomvalueform.initValueFieldsByObject(obj.obj);
28 </handler> 28 </handler>
29 29
30 <netRemoteCallHib name="getRooms" funcname="conferenceservice.getRooms" remotecontext="$once{ canvas.thishib }" > 30 <netRemoteCallHib name="getRooms" funcname="conferenceservice.getRooms" remotecontext="$once{ canvas.thishib }" >
31 <netparam><method name="getValue"> return canvas.sessionId; </method></netparam> 31 <netparam><method name="getValue"> return canvas.sessionId; </method></netparam>
32 <netparam><method name="getValue"> return parent.parent.start; </method></netparam> 32 <netparam><method name="getValue"> return parent.parent.start; </method></netparam>
33 <netparam><method name="getValue"> return parent.parent.step; </method></netparam> 33 <netparam><method name="getValue"> return parent.parent.step; </method></netparam>
34 <netparam><method name="getValue"> return parent.parent.orderby; </method></netparam> 34 <netparam><method name="getValue"> return parent.parent.orderby; </method></netparam>
35 <netparam><method name="getValue"> return parent.parent.asc; </method></netparam> 35 <netparam><method name="getValue"> return parent.parent.asc; </method></netparam>
36 <handler name="ondata" args="value"> 36 <handler name="ondata" args="value">
37 //Debug.write("getRooms: ",value); 37 //Debug.write("getRooms: ",value);
38 //this.parent.destroy(); 38 //this.parent.destroy();
39 this.parent.initValues(value.records); 39 this.parent.initValues(value.records);
40 this.parent.renderContent(value.result); 40 this.parent.renderContent(value.result);
41 </handler> 41 </handler>
42 </netRemoteCallHib> 42 </netRemoteCallHib>
43 43
44 <method name="renderContent" args="records"> 44 <method name="renderContent" args="records">
45 <![CDATA[ 45 <![CDATA[
46 this.clearList(); 46 this.clearList();
47 for (var i=0;i<records.length;i++){ 47 for (var i=0;i<records.length;i++){
48 new lz.roomAdminListItem(this._innerlist._inn._inn,{obj:records[i],rooms_id:records[i].rooms_id,roomname:records[i].name,ispublic:records[i].ispublic}); 48 new lz.roomAdminListItem(this._innerlist._inn._inn,{obj:records[i],rooms_id:records[i].rooms_id,roomname:records[i].name,ispublic:records[i].ispublic});
49 } 49 }
50 ]]> 50 ]]>
51 </method> 51 </method>
52 52
53 </turnOverList> 53 </turnOverList>
54 54
55 <roomValueForm name="_roomvalueform" x="460" /> 55 <roomValueForm name="_roomvalueform" x="402" />
56 56
57 </class> 57 </class>
58 58
59 59
60 60
61 </library> 61 </library>
Powered by Google Project Hosting