Author: eugen.schwert
Date: Tue Dec 23 06:04:27 2008
New Revision: 1729

Modified:
    trunk/openmeetings_lps411/config.xml
    trunk/openmeetings_lps411/modules/calendar/dayview/calendarDayView.lzx
    trunk/openmeetings_lps411/modules/calendar/dayview/terminarea.lzx
    trunk/openmeetings_lps411/modules/calendar/dialogue/termindetails.lzx
    trunk/openmeetings_lps411/modules/calendar/weekview/library.lzx
     
trunk/openmeetings_lps411/modules/calendar/weekview/terminareaWeekView.lzx
    trunk/openmeetings_lps411/modules/calendar/weekview/weekView.lzx

Log:
calendar modules extended

Modified: trunk/openmeetings_lps411/config.xml
==============================================================================
--- trunk/openmeetings_lps411/config.xml        (original)
+++ trunk/openmeetings_lps411/config.xml        Tue Dec 23 06:04:27 2008
@@ -5,7 +5,8 @@
      if this value is empty it will try to connect to the
      domain-name the OpenMeetings-Client has been loading from
      -->
-<rtmphostlocal>192.168.254.182</rtmphostlocal>
+<!--<rtmphostlocal>192.168.254.182</rtmphostlocal>-->
+<rtmphostlocal></rtmphostlocal>

  <!--
  Port to use for the Server

Modified:  
trunk/openmeetings_lps411/modules/calendar/dayview/calendarDayView.lzx
==============================================================================
--- trunk/openmeetings_lps411/modules/calendar/dayview/calendarDayView.lzx      
 
(original)
+++ trunk/openmeetings_lps411/modules/calendar/dayview/calendarDayView.lzx      
 
Tue Dec 23 06:04:27 2008
@@ -41,7 +41,7 @@
                                                        var x = "0" + 
x.toString();                                     
                                                        }                       
        
                                                new 
lz.calenderlistitem(this._tagesansicht._list._innerlist,{text:x  
+ ":00", fontsize:8, width:parent.width, terminObjRef:parent});
-                                       if ($debug) 
Debug.write("setCalendarItem_method: ",this);
+                                       
                                        }
                                        ]]>
                </method>

Modified: trunk/openmeetings_lps411/modules/calendar/dayview/terminarea.lzx
==============================================================================
--- trunk/openmeetings_lps411/modules/calendar/dayview/terminarea.lzx    
(original)
+++ trunk/openmeetings_lps411/modules/calendar/dayview/terminarea.lzx   Tue  
Dec 23 06:04:27 2008
@@ -5,6 +5,67 @@
        <attribute name ="terminObj" value="null"/>
        <attribute name ="calenderObjRef" value="null"/>
        
+
+       <view name="resize_bottom" y="${parent.height-this.height}" height="20" 
 
width="${parent.width}" bgcolor="blue">
+               <attribute name="isActive" value="false" type="boolean" />
+               
+               <text name="_endtime"></text>
+               <handler name="onclick">
+                       //parent.starty = this.y;
+                       if ($debug) Debug.write("Appointment height: ", 
parent.height);
+                       if ($debug) Debug.write("list height: ", 
parent.parent.height);
+                       
+               </handler>
+               <handler name="onmousedown">
+                       this.isActive = true;
+                       this.dragger.apply();
+               </handler>
+               <handler name="onmouseup">
+                       this.dragger.remove();
+                       this.isActive = false;
+                       
+               </handler>
+               <handler name="ony">
+                       
+                       if (this.isActive) {
+                               parent.setAttribute('height', this.y+20);
+                               
this._endtime.setAttribute('text',(this.y+parent.y+22)/22)+":";
+                               //if ($debug) Debug.write("this y: ",this.y);
+                       }
+               </handler>
+               <dragstate name="dragger" drag_axis="y" drag_min_y="0"  
drag_max_y="${506-parent.y}"/>
+       </view>
+       
+       <view name="resize_head" y="0" height="20" width="${parent.width}"  
bgcolor="blue">
+               <attribute name="isActive" value="false" type="boolean" />
+               
+               <text name="_endtime"></text>
+               <handler name="onclick">
+                       //parent.starty = this.y;
+                       if ($debug) Debug.write("Appointment height: ", 
parent.height);
+                       if ($debug) Debug.write("list height: ", 
parent.parent.height);
+                       
+               </handler>
+               <handler name="onmousedown">
+                       this.isActive = true;
+                       this.dragger.apply();
+               </handler>
+               <handler name="onmouseup">
+                       this.dragger.remove();
+                       this.isActive = false;
+                       
+               </handler>
+               <handler name="ony">    
+                       if (this.isActive) {
+                               parent.setAttribute('height', this.y);
+                               parent.setAttribute('y', this.y);
+                               
this._endtime.setAttribute('text',(this.y+parent.y+22)/22)+":";
+                               //if ($debug) Debug.write("this y: ",this.y);
+                       }
+               </handler>
+               <dragstate name="dragger" drag_axis="y" 
drag_min_y="-parent.y-22"  
drag_max_y="${parent.y+parent.height}"/>
+       </view>
+       
        <handler name="onclick">
                if ($debug) Debug.write("this termin: ",this.terminObj);
                 
parent.parent.parent.parent.parent.parent.parent._termindetails.terminObjRef  
= this.terminObj;
@@ -53,6 +114,37 @@
                //parent.calenderObjRef.getAppointmentByRange.doCall();
                this.destroy();
        </method>
+       
+       <netRemoteCallHib name="updateAppointment"  
funcname="calendarservice.updateAppointment"
+                                                         remotecontext="$once{ 
canvas.thishib }" >
+                               <attribute name="arrayMeetingMember" 
value="null"/>     
+                                               
+                               <netparam><method name="getValue">return 
canvas.sessionId;  
</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj.appointmentId;</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._titeledit['text'];</method></netparam>
+                               <netparam><method name="getValue">return  
canvas.thishib.terminObj.UserID;</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._locationedit['text'];</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._komentar['text'];</method></netparam>
+                               <netparam><method name="getValue">return  
parseStringToDateTime(parent.parent._date._bdatum.getText() +  
parent.parent._date._bzeit.getText());</method></netparam>
+                               <netparam><method name="getValue">return  
parseStringToDateTime(parent.parent._date.edatum.getText() +  
parent.parent._date.ezeit.getText());</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._isDaily;</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._isMonthly;</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._isWeekly;</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._isYearly;</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._kategoryatr;</method></netparam>
+                               <netparam><method name="getValue">return  
parent.parent.terminObj._erinnerungatr;</method></netparam>
+                               
+                               <netparam><method name="getValue">return  
parent.parent.terminObj.arrayMeetingMember;</method></netparam>
+                       <handler name="ondata" args="value">
+                               <![CDATA[
+                                       
+                                       
//parent.parent.getAppointmentByRange.doCall();
+                       
+                                       if ($debug) 
Debug.write("updateUserTermin: ",value);
+                               
+                                ]]>
+                       </handler>
+                   </netRemoteCallHib>
        
  <!--  <netRemoteCallHib name="deleteAppointment"  
funcname="calendarservice.deleteAppointment"
                                                          remotecontext="$once{ 
canvas.thishib }" >

Modified:  
trunk/openmeetings_lps411/modules/calendar/dialogue/termindetails.lzx
==============================================================================
--- trunk/openmeetings_lps411/modules/calendar/dialogue/termindetails.lzx       
 
(original)
+++ trunk/openmeetings_lps411/modules/calendar/dialogue/termindetails.lzx       
 
Tue Dec 23 06:04:27 2008
@@ -92,7 +92,7 @@
                  </handler>

                <!--  <labelText name="_location" labelid="569" value="5"/>     
 
-->                             
-                               <textlistitem text="keine" value="0"/>
+                               <textlistitem text="none" value="0"/>
                                <textlistitem text="Daily" value="1"/>
                <textlistitem text="Weekly" value="2"/>
                        <textlistitem text="Monthly" value="3"/>

Modified: trunk/openmeetings_lps411/modules/calendar/weekview/library.lzx
==============================================================================
--- trunk/openmeetings_lps411/modules/calendar/weekview/library.lzx      
(original)
+++ trunk/openmeetings_lps411/modules/calendar/weekview/library.lzx     Tue Dec 
 
23 06:04:27 2008
@@ -4,6 +4,6 @@
      <include href="calendarWeekView.lzx" />
      <include href="weekView.lzx" />
      <include href="terminareaWeekView.lzx" />
-    <include href="terminareaForWeekView.lzx" />
+   <!-- <include href="terminareaForWeekView.lzx" /> -->

  </library>

Modified:  
trunk/openmeetings_lps411/modules/calendar/weekview/terminareaWeekView.lzx
==============================================================================
---  
trunk/openmeetings_lps411/modules/calendar/weekview/terminareaWeekView.lzx      
 
(original)
+++  
trunk/openmeetings_lps411/modules/calendar/weekview/terminareaWeekView.lzx      
 
Tue Dec 23 06:04:27 2008
@@ -17,8 +17,25 @@
                //parent.parent.parent.parent._terminButton.onclick.sendEvent();
        </handler>
        
+       <view name="resize" y="${parent.height-this.height}" height="20"  
width="${parent.width}" bgcolor="blue">
+               <handler name="onclick">
+                       if ($debug) Debug.write("getMouse y: ", 
parent.getMouse('y'));
+                       this.getMouse('y')
+                       //this.dragger.apply();
+               </handler>
+               <handler name="onmousedown">
+                       this.dragger.apply();
+               </handler>
+               <handler name="onmouseup">
+                       this.dragger.remove();
+               </handler>
+               <handler name="ony">
+                       parent.setAttribute('height', parent.height-this.y/10)
+               </handler>
+               <dragstate name="dragger" drag_axis="y"/>
+       </view>
+       
        
-
        <text multiline="true" width="${ parent.width-2 }" x="1"
                  height="${ parent.height -2 }" y="1"
                  text="${ parent.description }" />

Modified: trunk/openmeetings_lps411/modules/calendar/weekview/weekView.lzx
==============================================================================
--- trunk/openmeetings_lps411/modules/calendar/weekview/weekView.lzx     
(original)
+++ trunk/openmeetings_lps411/modules/calendar/weekview/weekView.lzx    Tue  
Dec 23 06:04:27 2008
@@ -166,7 +166,7 @@
                                                                        
height:value[i].appointmentEndtime.getHours()*17 + 1/4 *  
value[i].appointmentEndtime.getMinutes()
                                                                                
         
-(value[i].appointmentStarttime.getHours()*17+value[i].appointmentStarttime.getMinutes()*1/4),
                                                                        
calenderObjRef:parent,
-                                                                       
bgcolor:"red",
+                                                                       
bgcolor:"green",
                                                                        
description:value[i].appointmentName +" Beschreibung: "+  
value[i].appointmentDescription,
                                                                        
terminObj:value[i]
                                                                        });

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to