Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/pendingUserStatus.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/pendingUserStatus.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/pendingUserStatus.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/pendingUserStatus.lzx
 Tue Jan 24 18:58:51 2012
@@ -1,76 +1,95 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<library>
-
-       
-<class name="pendingUserStatus" extends="view" bgcolor="$once{ 
canvas.basebgcolorizer }" 
-          width="$once{ parent.width-16 }" height="40" y="$once{ 
parent.height-62 }">
-       
-       <attribute name="message" value="" type="string" />
-       <attribute name="userContactId" value="0" type="number" />
-
-       <method name="setPendingStatus" args="pending">
-        <![CDATA[
-        
-            if ($debug) Debug.write("setPendingStatus 
",this.userContactId,pending);
-            
-            this.changePendingStatusUserContacts.pending = pending;
-            this.changePendingStatusUserContacts.doCall();
-        ]]>
-    </method>
-    
-    <method name="close">
-       this.destroy();
-       parent.pendingUserStatusRef = null;
-    </method>
-    
-    <!--
-       public Long changePendingStatusUserContacts(String SID, Long 
userContactId, Boolean pending)
-        -->
-    <netRemoteCallHib name="changePendingStatusUserContacts" 
funcname="userservice.changePendingStatusUserContacts" 
-                                 remotecontext="$once{ canvas.thishib }" 
activeErrorHandler="true" >      
-               <attribute name="pending" value="true" type="boolean" />
-               <netparam><method name="getValue"> return canvas.sessionId; 
</method></netparam>
-               <netparam><method name="getValue"> return 
parent.parent.userContactId; </method></netparam>
-       <netparam><method name="getValue"> return parent.pending; 
</method></netparam>
-       <handler name="ondata" args="value">
-               <![CDATA[
-                       if ($debug) 
Debug.write("changePendingStatusUserContacts: ",value);
-                       parent.parent.parent.parent._userContacts.reload();
-               ]]>
-       </handler>
-    </netRemoteCallHib>
-    
-    <view name="_bg" x="1" y="1" width="$once{ parent.width-2 }" 
height="$once{ parent.height-2 }"
-         bgcolor="0xFFFFFF" />
-         
-       <miniIconsPresenter name="_close" x="$once{ parent.width-20 }" y="2"
-        iconRessourceName="btn_presenter_close2">
-        <handler name="onclick">
-            this.parent.close();
-        </handler>
-        <labelTooltip labelid="430" />
-    </miniIconsPresenter>  
-    
-       <miniIcons name="add" x="10" y="10" 
resource="user_moderator_list_apply_rsc" width="18" height="18" 
-           showhandcursor="true">
-               <handler name="onclick">
-           parent.setPendingStatus(true);
-        </handler>
-        <labelTooltip labelid="1190" />
-    </miniIcons>
-
-       <miniIcons name="deny" x="30" y="10" resource="button_cancel_rsc" 
width="18" height="18" 
-           showhandcursor="true">
-               <handler name="onclick">
-            parent.setPendingStatus(false);
-        </handler>
-        <labelTooltip labelid="1191" />
-    </miniIcons>
-    
-    <labelText text="$once{ parent.message }" y="10" x="60"
-                  width="$once{ parent.width-this.x-20 }" resize="false" 
multiline="true" />
-    
-</class> 
-       
-
-</library>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+      http://www.apache.org/licenses/LICENSE-2.0
+         
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+  
+-->
+<library>
+
+       
+<class name="pendingUserStatus" extends="view" bgcolor="$once{ 
canvas.basebgcolorizer }" 
+          width="$once{ parent.width-16 }" height="40" y="$once{ 
parent.height-62 }">
+       
+       <attribute name="message" value="" type="string" />
+       <attribute name="userContactId" value="0" type="number" />
+
+       <method name="setPendingStatus" args="pending">
+        <![CDATA[
+        
+            if ($debug) Debug.write("setPendingStatus 
",this.userContactId,pending);
+            
+            this.changePendingStatusUserContacts.pending = pending;
+            this.changePendingStatusUserContacts.doCall();
+        ]]>
+    </method>
+    
+    <method name="close">
+       this.destroy();
+       parent.pendingUserStatusRef = null;
+    </method>
+    
+    <!--
+       public Long changePendingStatusUserContacts(String SID, Long 
userContactId, Boolean pending)
+        -->
+    <netRemoteCallHib name="changePendingStatusUserContacts" 
funcname="userservice.changePendingStatusUserContacts" 
+                                 remotecontext="$once{ canvas.thishib }" 
activeErrorHandler="true" >      
+               <attribute name="pending" value="true" type="boolean" />
+               <netparam><method name="getValue"> return canvas.sessionId; 
</method></netparam>
+               <netparam><method name="getValue"> return 
parent.parent.userContactId; </method></netparam>
+       <netparam><method name="getValue"> return parent.pending; 
</method></netparam>
+       <handler name="ondata" args="value">
+               <![CDATA[
+                       if ($debug) 
Debug.write("changePendingStatusUserContacts: ",value);
+                       parent.parent.parent.parent._userContacts.reload();
+               ]]>
+       </handler>
+    </netRemoteCallHib>
+    
+    <view name="_bg" x="1" y="1" width="$once{ parent.width-2 }" 
height="$once{ parent.height-2 }"
+         bgcolor="0xFFFFFF" />
+         
+       <miniIconsPresenter name="_close" x="$once{ parent.width-20 }" y="2"
+        iconRessourceName="btn_presenter_close2">
+        <handler name="onclick">
+            this.parent.close();
+        </handler>
+        <labelTooltip labelid="430" />
+    </miniIconsPresenter>  
+    
+       <miniIcons name="add" x="10" y="10" 
resource="user_moderator_list_apply_rsc" width="18" height="18" 
+           showhandcursor="true">
+               <handler name="onclick">
+           parent.setPendingStatus(true);
+        </handler>
+        <labelTooltip labelid="1190" />
+    </miniIcons>
+
+       <miniIcons name="deny" x="30" y="10" resource="button_cancel_rsc" 
width="18" height="18" 
+           showhandcursor="true">
+               <handler name="onclick">
+            parent.setPendingStatus(false);
+        </handler>
+        <labelTooltip labelid="1191" />
+    </miniIcons>
+    
+    <labelText text="$once{ parent.message }" y="10" x="60"
+                  width="$once{ parent.width-this.x-20 }" resize="false" 
multiline="true" />
+    
+</class> 
+       
+
+</library>

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessagItem.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessagItem.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessagItem.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessagItem.lzx
 Tue Jan 24 18:58:51 2012
@@ -1,42 +1,61 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<library>
-
-       
-<class name="privateMessagItem" extends="basePagingListItem" 
showhandcursor="false" height="20">
-       
-       <attribute name="from" value="" type="string"/>
-       <attribute name="subject" value="" type="string"/>
-       <attribute name="strTime" value="" type="string"/>
-       
-       <attribute name="isRead" value="false" type="boolean"/>
-       
-       <attribute name="itemSelected" value="false" type="boolean"/>
-       
-       <view width="200">
-               
-               <handler name="onclick">
-                       if (parent.clickable) {
-                               if ($debug) Debug.write("SEND CLICK TO PARENT");
-                               parent.onclick.sendEvent();
-                               
//parent.parent.parent.parent.parent.itemSelected(parent,!parent.itemSelected);
-                       }
-               </handler>
-               
-               <checkbox name="_selected" y="2" x="2" clickable="false"
-                                 visibility="${ (parent.parent.clickable) ? 
'visible' : 'hidden' }" 
-                                 value="${ parent.parent.itemSelected }" />
-               
-               <view height="$once{ parent.parent.height }" width="1" 
-                                       align="right" bgcolor="black" />
-       </view>
-       
-       <turnOverTextItem name="_timezone" width="80" 
-                                         text="${ parent.from }" fontstyle="${ 
(parent.isRead) ? 'plain' : 'bold' }" />
-       <turnOverTextItem name="_searchOffers" width="300"
-                                         text="${ parent.subject }" 
fontstyle="${ (parent.isRead) ? 'plain' : 'bold' }" />
-       <turnOverTextItem name="_searchSearchs" width="300"
-                                         text="${ parent.strTime }" 
fontstyle="${ (parent.isRead) ? 'plain' : 'bold' }" />
-       
-</class>       
-
-</library>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+      http://www.apache.org/licenses/LICENSE-2.0
+         
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+  
+-->
+<library>
+
+       
+<class name="privateMessagItem" extends="basePagingListItem" 
showhandcursor="false" height="20">
+       
+       <attribute name="from" value="" type="string"/>
+       <attribute name="subject" value="" type="string"/>
+       <attribute name="strTime" value="" type="string"/>
+       
+       <attribute name="isRead" value="false" type="boolean"/>
+       
+       <attribute name="itemSelected" value="false" type="boolean"/>
+       
+       <view width="200">
+               
+               <handler name="onclick">
+                       if (parent.clickable) {
+                               if ($debug) Debug.write("SEND CLICK TO PARENT");
+                               parent.onclick.sendEvent();
+                               
//parent.parent.parent.parent.parent.itemSelected(parent,!parent.itemSelected);
+                       }
+               </handler>
+               
+               <checkbox name="_selected" y="2" x="2" clickable="false"
+                                 visibility="${ (parent.parent.clickable) ? 
'visible' : 'hidden' }" 
+                                 value="${ parent.parent.itemSelected }" />
+               
+               <view height="$once{ parent.parent.height }" width="1" 
+                                       align="right" bgcolor="black" />
+       </view>
+       
+       <turnOverTextItem name="_timezone" width="80" 
+                                         text="${ parent.from }" fontstyle="${ 
(parent.isRead) ? 'plain' : 'bold' }" />
+       <turnOverTextItem name="_searchOffers" width="300"
+                                         text="${ parent.subject }" 
fontstyle="${ (parent.isRead) ? 'plain' : 'bold' }" />
+       <turnOverTextItem name="_searchSearchs" width="300"
+                                         text="${ parent.strTime }" 
fontstyle="${ (parent.isRead) ? 'plain' : 'bold' }" />
+       
+</class>       
+
+</library>

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessageFolder.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessageFolder.lzx?rev=1235410&r1=1235409&r2=1235410&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessageFolder.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/settings/privatemessages/privateMessageFolder.lzx
 Tue Jan 24 18:58:51 2012
@@ -1,140 +1,159 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<library>
-       
-<class name="editPrivateMessageFolder" extends="customInputtext" 
-          fontsize="10" bgcolor="0xFFFFFF">
-       
-       <attribute name="privateMessageFolderId" value="0" type="number" />
-       <attribute name="folderName" value="" type="string" />
-       <attribute name="refObj" value="null" />
-       
-       <handler name="onblur">
-               lz.ModeManager.release(this);
-               if (this.folderName != this.getText()) {
-                       this.updatePrivateMessageFolder.doCall();
-               } else {
-                       this.destroy();
-               }
-       </handler>
-       
-       <handler name="onkeydown" args="k">
-               <![CDATA[
-               if (k == 13 || k == 27) {
-                       this.onblur.sendEvent();
-               }
-               ]]>
-       </handler>
-       
-       <!--
-       public Long updatePrivateMessageFolder(String SID, Long 
privateMessageFolderId, String folderName)
-        -->
-       <netRemoteCallHib name="updatePrivateMessageFolder" 
funcname="userservice.updatePrivateMessageFolder" 
-                         remotecontext="$once{ canvas.thishib }" >  
-               <netparam><method name="getValue"> return canvas.sessionId; 
</method></netparam>
-               <netparam><method name="getValue"> return 
parent.parent.privateMessageFolderId; </method></netparam>
-       <netparam><method name="getValue"> return parent.parent.getText(); 
</method></netparam>
-       <handler name="ondata" args="value">
-               <![CDATA[
-                       if ($debug) Debug.write("updatePrivateMessageFolder: 
",value);
-                       parent.completed();
-               ]]>
-       </handler>
-       <method name="sendConfirmation" args="yesno" >
-            parent.parent.deleteFolder(parent.privateMessageFolderId,this);
-        </method>
-    </netRemoteCallHib>        
-    
-       <method name="completed">
-               this.refObj.folderName = this.getText();
-               this.refObj.updateConnectedFolderBox();
-               this.refObj._text.setAttribute("text",this.getText());
-               this.destroy();
-       </method>
-       
-</class>       
-       
-<class name="privateMessageFolder" extends="view" x="16" width="136">
-       
-       <attribute name="folderName" value="" type="string" />
-       <attribute name="privateMessageFolderId" value="0" type="number" />
-       <attribute name="selected" value="false" type="boolean" />
-       
-       <handler name="onclick">
-               if (this.selected) {
-                       this.editFolderName();
-               }
-               //this.setAttribute("enabled",false);
-               parent.loadPrivateMessage(this.privateMessageFolderId,this);
-       </handler>
-       
-       <method name="editFolderName">
-               var t = new lz.editPrivateMessageFolder(canvas,{
-                               
privateMessageFolderId:this.privateMessageFolderId,
-                               folderName:this.folderName,
-                               text:this.folderName,
-                               refObj:this,
-                               width:84,
-                               fontstyle:'bold',
-                               height:this.height,
-                           x:this._text.getAttributeRelative('x',canvas),
-                           y:this._text.getAttributeRelative('y',canvas)
-                       });
-                       
-        lz.Focus.setFocus(t,true);
-        lz.ModeManager.makeModal(t);
-       </method>
-       
-       <!--
-               Send update to drop down list of folder names 
-        -->
-       <method name="updateConnectedFolderBox">
-               parent.updateConnectedFolderBox();
-       </method>
-       
-       <view resource="private_message_folder_rsc" x="0" y="0" />
-       
-       <labelText name="_text" fontstyle="bold" x="20" text="$once{ 
parent.folderName }" />
-       
-       <miniIcons name="edit" y="1" x="104" resource="paint" width="16" 
height="16" 
-                      showhandcursor="true">
-               <handler name="onclick">
-                       parent.editFolderName();
-        </handler>
-        <labelTooltip labelid="1264" />
-    </miniIcons>
-       
-       <miniIcons name="deny" y="1" x="120" resource="button_cancel_rsc" 
width="16" height="16" 
-                      showhandcursor="true">
-               <handler name="onclick">
-                       parent.getFolderCount.doCall();
-        </handler>
-        <labelTooltip labelid="1262" />
-    </miniIcons>
-    
-    <!--
-    public Long getFolderCount(String SID, Long privateMessageFolderId)
-     -->
-       <netRemoteCallHib name="getFolderCount" 
funcname="userservice.getFolderCount" 
-                         remotecontext="$once{ canvas.thishib }" >  
-               <netparam><method name="getValue"> return canvas.sessionId; 
</method></netparam>
-               <netparam><method name="getValue"> return 
parent.parent.privateMessageFolderId; </method></netparam>
-       <handler name="ondata" args="value">
-               <![CDATA[
-                       if ($debug) Debug.write("getFolderCount: ",value);
-                       if (value == 0) {
-                               new 
lz.confirmationSingle(canvas.main_content._content.inner,{
-                                   labelid:1262,labeliderror:1265,
-                                   refObj:this,showCheckBox:false});
-                       } else {
-                               new 
lz.labelerrorPopup(canvas,{errorlabelid:1263});
-                       }
-               ]]>
-       </handler>
-       <method name="sendConfirmation" args="yesno" >
-            parent.parent.deleteFolder(parent.privateMessageFolderId,this);
-        </method>
-    </netRemoteCallHib>        
-                                                 
-</class>       
-       
-</library>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+      http://www.apache.org/licenses/LICENSE-2.0
+         
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+  
+-->
+<library>
+       
+<class name="editPrivateMessageFolder" extends="customInputtext" 
+          fontsize="10" bgcolor="0xFFFFFF">
+       
+       <attribute name="privateMessageFolderId" value="0" type="number" />
+       <attribute name="folderName" value="" type="string" />
+       <attribute name="refObj" value="null" />
+       
+       <handler name="onblur">
+               lz.ModeManager.release(this);
+               if (this.folderName != this.getText()) {
+                       this.updatePrivateMessageFolder.doCall();
+               } else {
+                       this.destroy();
+               }
+       </handler>
+       
+       <handler name="onkeydown" args="k">
+               <![CDATA[
+               if (k == 13 || k == 27) {
+                       this.onblur.sendEvent();
+               }
+               ]]>
+       </handler>
+       
+       <!--
+       public Long updatePrivateMessageFolder(String SID, Long 
privateMessageFolderId, String folderName)
+        -->
+       <netRemoteCallHib name="updatePrivateMessageFolder" 
funcname="userservice.updatePrivateMessageFolder" 
+                         remotecontext="$once{ canvas.thishib }" >  
+               <netparam><method name="getValue"> return canvas.sessionId; 
</method></netparam>
+               <netparam><method name="getValue"> return 
parent.parent.privateMessageFolderId; </method></netparam>
+       <netparam><method name="getValue"> return parent.parent.getText(); 
</method></netparam>
+       <handler name="ondata" args="value">
+               <![CDATA[
+                       if ($debug) Debug.write("updatePrivateMessageFolder: 
",value);
+                       parent.completed();
+               ]]>
+       </handler>
+       <method name="sendConfirmation" args="yesno" >
+            parent.parent.deleteFolder(parent.privateMessageFolderId,this);
+        </method>
+    </netRemoteCallHib>        
+    
+       <method name="completed">
+               this.refObj.folderName = this.getText();
+               this.refObj.updateConnectedFolderBox();
+               this.refObj._text.setAttribute("text",this.getText());
+               this.destroy();
+       </method>
+       
+</class>       
+       
+<class name="privateMessageFolder" extends="view" x="16" width="136">
+       
+       <attribute name="folderName" value="" type="string" />
+       <attribute name="privateMessageFolderId" value="0" type="number" />
+       <attribute name="selected" value="false" type="boolean" />
+       
+       <handler name="onclick">
+               if (this.selected) {
+                       this.editFolderName();
+               }
+               //this.setAttribute("enabled",false);
+               parent.loadPrivateMessage(this.privateMessageFolderId,this);
+       </handler>
+       
+       <method name="editFolderName">
+               var t = new lz.editPrivateMessageFolder(canvas,{
+                               
privateMessageFolderId:this.privateMessageFolderId,
+                               folderName:this.folderName,
+                               text:this.folderName,
+                               refObj:this,
+                               width:84,
+                               fontstyle:'bold',
+                               height:this.height,
+                           x:this._text.getAttributeRelative('x',canvas),
+                           y:this._text.getAttributeRelative('y',canvas)
+                       });
+                       
+        lz.Focus.setFocus(t,true);
+        lz.ModeManager.makeModal(t);
+       </method>
+       
+       <!--
+               Send update to drop down list of folder names 
+        -->
+       <method name="updateConnectedFolderBox">
+               parent.updateConnectedFolderBox();
+       </method>
+       
+       <view resource="private_message_folder_rsc" x="0" y="0" />
+       
+       <labelText name="_text" fontstyle="bold" x="20" text="$once{ 
parent.folderName }" />
+       
+       <miniIcons name="edit" y="1" x="104" resource="paint" width="16" 
height="16" 
+                      showhandcursor="true">
+               <handler name="onclick">
+                       parent.editFolderName();
+        </handler>
+        <labelTooltip labelid="1264" />
+    </miniIcons>
+       
+       <miniIcons name="deny" y="1" x="120" resource="button_cancel_rsc" 
width="16" height="16" 
+                      showhandcursor="true">
+               <handler name="onclick">
+                       parent.getFolderCount.doCall();
+        </handler>
+        <labelTooltip labelid="1262" />
+    </miniIcons>
+    
+    <!--
+    public Long getFolderCount(String SID, Long privateMessageFolderId)
+     -->
+       <netRemoteCallHib name="getFolderCount" 
funcname="userservice.getFolderCount" 
+                         remotecontext="$once{ canvas.thishib }" >  
+               <netparam><method name="getValue"> return canvas.sessionId; 
</method></netparam>
+               <netparam><method name="getValue"> return 
parent.parent.privateMessageFolderId; </method></netparam>
+       <handler name="ondata" args="value">
+               <![CDATA[
+                       if ($debug) Debug.write("getFolderCount: ",value);
+                       if (value == 0) {
+                               new 
lz.confirmationSingle(canvas.main_content._content.inner,{
+                                   labelid:1262,labeliderror:1265,
+                                   refObj:this,showCheckBox:false});
+                       } else {
+                               new 
lz.labelerrorPopup(canvas,{errorlabelid:1263});
+                       }
+               ]]>
+       </handler>
+       <method name="sendConfirmation" args="yesno" >
+            parent.parent.deleteFolder(parent.privateMessageFolderId,this);
+        </method>
+    </netRemoteCallHib>        
+                                                 
+</class>       
+       
+</library>


Reply via email to