You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/08/16 21:17:46 UTC
svn commit: r432039 - /incubator/xap/trunk/dist/zimbra.js
Author: mturyn
Date: Wed Aug 16 14:17:45 2006
New Revision: 432039
URL: http://svn.apache.org/viewvc?rev=432039&view=rev
Log:
Comments at original file boundaries added.
Modified:
incubator/xap/trunk/dist/zimbra.js
Modified: incubator/xap/trunk/dist/zimbra.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/dist/zimbra.js?rev=432039&r1=432038&r2=432039&view=diff
==============================================================================
--- incubator/xap/trunk/dist/zimbra.js (original)
+++ incubator/xap/trunk/dist/zimbra.js Wed Aug 16 14:17:45 2006
@@ -1,3 +1,4 @@
+/**** Autoinclude function file:./zimbra/js/msgs/AjxMsg.js****/
function launch() {
// DBG = new AjxDebug( AjxDebug.NONE, null, false );
}
@@ -337,6 +338,7 @@
/* Global ELEMENT declarations */
function ExMsg() {}
+/**** Autoinclude function file:./zimbra/js/core/AjxEnv.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -555,6 +557,7 @@
};
}
}
+/**** Autoinclude function file:./zimbra/js/util/AjxUtil.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -1028,6 +1031,7 @@
newList.push(list[i]);
return newList;
};
+/**** Autoinclude function file:./zimbra/js/core/AjxCore.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -1247,6 +1251,7 @@
AjxCore.addListener(window, "onunload", action);
};
+/**** Autoinclude function file:./zimbra/js/soap/AjxSoapFault.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -1323,6 +1328,7 @@
AjxSoapFault.MUST_UNDERSTAND = -4;
AjxSoapFault.DATA_ENCODING_UNKNOWN = -5;
AjxSoapFault.UNKNOWN = -6;
+/**** Autoinclude function file:./zimbra/js/util/AjxCookie.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -1394,6 +1400,7 @@
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") + "; expires=Fri, 31 Dec 1999 23:59:59 GMT";
}
+/**** Autoinclude function file:./zimbra/js/soap/AjxSoapException.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -1435,6 +1442,7 @@
AjxSoapException.INTERNAL_ERROR = "INTERNAL_ERROR";
AjxSoapException.INVALID_PDU = "INVALID_PDU";
AjxSoapException.ELEMENT_EXISTS = "ELEMENT_EXISTS";
+/**** Autoinclude function file:./zimbra/js/util/AjxCallback.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -1552,6 +1560,7 @@
func.apply(obj || this, args.concat(args2));
};
};
+/**** Autoinclude function file:./zimbra/js/util/AjxSelectionManager.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -1829,6 +1838,7 @@
return;
}
};
+/**** Autoinclude function file:./zimbra/js/soap/AjxSoapDoc.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -2075,6 +2085,7 @@
throw new AjxSoapException("Invalid SOAP PDU", AjxSoapException.INVALID_PDU, "AjxSoapDoc.createFromXml:2");
}
};
+/**** Autoinclude function file:./zimbra/js/net/AjxRpcRequest.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -2234,6 +2245,7 @@
}
AjxRpcRequest._inited = true;
};
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtHtmlEditorStateEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -2292,6 +2304,7 @@
this.justification = null;
this.direction = null;
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtKeyEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -2376,6 +2389,7 @@
dest.charCode = src.charCode;
dest.keyCode = src.keyCode;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtListView.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -3887,6 +3901,7 @@
this._visible = (visible !== false);
this._name = name || label;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtAddRemove.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -3918,176 +3933,6 @@
//
/**
- * Constructs a control that alerts the user to important information.
- *
- * @param parent The parent container for this control.
- * @param className (optional) The CSS class for this control. Default
- * value is "DwtAlert".
- * @param posStyle (optional) The position style of this control.
- */
-function DwtAlert(parent, className, posStyle) {
- if (arguments.length == 0) return;
- posStyle = posStyle || DwtControl.STATIC_STYLE;
- DwtComposite.call(this, parent, null, posStyle);
-
- this._alertClass = className;
- this._alertStyle = DwtAlert.INFORMATION;
- this._createHTML();
-}
-
-DwtAlert.prototype = new DwtControl;
-DwtAlert.prototype.constructor = DwtAlert;
-
-//
-// Constants
-//
-
-DwtAlert.INFORMATION = 0;
-DwtAlert.WARNING = 1;
-DwtAlert.CRITICAL = 2;
-
-DwtAlert._ICONS = [ AjxImg.getClassForImage("Information_32"), AjxImg.getClassForImage("Warning_32"), AjxImg.getClassForImage("Critical_32") ];
-DwtAlert._CLASSES = [ "DwtAlertInfo", "DwtAlertWarn", "DwtAlertCrit" ];
-
-//
-// Data
-//
-
-DwtAlert.prototype._alertClass;
-DwtAlert.prototype._alertStyle;
-DwtAlert.prototype._alertTitle;
-DwtAlert.prototype._alertContent;
-
-DwtAlert.prototype._alertDiv;
-DwtAlert.prototype._iconDiv;
-DwtAlert.prototype._titleDiv;
-DwtAlert.prototype._contentDiv;
-
-//
-// Public methods
-//
-
-DwtAlert.prototype.setStyle = function(style) {
- this._alertStyle = style || DwtAlert.INFORMATION;
- this._iconDiv.className = "DwtAlertIcon "+DwtAlert._ICONS[this._alertStyle];
- this._alertDiv.className = "DwtAlert "+ (this._alertClass || DwtAlert._CLASSES[this._alertStyle]);
-}
-DwtAlert.prototype.getStyle = function() {
- return this._alertStyle;
-}
-
-DwtAlert.prototype.setIconVisible = function(visible) {
- var display = visible ? "block" : "none";
- // NOTE: This makes the parent <td> not visible
- this._iconDiv.parentNode.style.display = display;
-}
-DwtAlert.prototype.getIconVisible = function() {
- return this._iconDiv.style.display == "block";
-}
-
-DwtAlert.prototype.setTitle = function(title) {
- this._alertTitle = title;
- this._titleDiv.innerHTML = title || "";
-}
-DwtAlert.prototype.getTitle = function() {
- return this._alertTitle;
-}
-
-DwtAlert.prototype.setContent = function(content) {
- this._alertContent = content;
- this._contentDiv.innerHTML = content || "";
-}
-DwtAlert.prototype.getContent = function() {
- return this._alertContent;
-}
-
-//
-// Protected methods
-//
-
-DwtAlert.prototype._createHTML = function() {
-
- // create unique identifiers
- var thisId = this.getHtmlElement().id;
- var iconDivId = thisId+"_icon";
- var titleDivId = thisId+"_title";
- var contentDivId = thisId+"_content";
-
- // NOTE: The alert HTML is created using TWO nested <table> elements
- // because 1) IE had problems with the alert icon floated to the
- // left within our application; and 2) Mozilla had problems with
- // obeying a table cell's rowSpan when creating the table
- // programmatically.
-
- // create html content
- this._alertDiv = document.createElement("TABLE");
- this._alertDiv.width = "90%";
- this._alertDiv.cellPadding = 0;
- this._alertDiv.cellSpacing = 0;
- this._alertDiv.className = "DwtAlert "+ (this._alertClass || DwtAlert._CLASSES[this._alertStyle]);
-
- this._iconDiv = document.createElement("DIV");
- this._iconDiv.id = iconDivId;
- this._iconDiv.className = "DwtAlertIcon "+DwtAlert._ICONS[this._alertStyle];
-
- // NOTE: The icon needs to be in a <div> inside the table cell so
- // that IE will use the CSS margin property.
- var row1 = this._alertDiv.insertRow(0);
- var cell1 = row1.insertCell(0);
- cell1.width = "1%";
- cell1.appendChild(this._iconDiv);
-
- var table2 = document.createElement("TABLE");
- table2.cellPadding = 0;
- table2.cellSpacing = 0;
-
- this._titleDiv = table2.insertRow(0).insertCell(0);
- this._titleDiv.id = titleDivId;
- this._titleDiv.className = "DwtAlertTitle";
-
- this._contentDiv = table2.insertRow(1).insertCell(0);
- this._contentDiv.id = contentDivId;
- this._contentDiv.className = "DwtAlertContent";
-
- var cell2 = row1.insertCell(1);
- cell2.width = "99%";
- cell2.appendChild(table2);
-
- // attach elements
- var parent = this.getHtmlElement();
- parent.style.align = "center";
- parent.appendChild(this._alertDiv);
-}/*
-* ***** BEGIN LICENSE BLOCK *****
-* Version: MPL 1.1
-*
-* The contents of this file are subject to the Mozilla Public
-* License Version 1.1 ("License"); you may not use this file except in
-* compliance with the License. You may obtain a copy of the License at
-* http://www.zimbra.com/license
-*
-* Software distributed under the License is distributed on an "AS IS"
-* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
-* the License for the specific language governing rights and limitations
-* under the License.
-*
-* The Original Code is: Zimbra AJAX Toolkit.
-*
-* The Initial Developer of the Original Code is Zimbra, Inc.
-* Portions created by Zimbra are Copyright (C) 2005 Zimbra, Inc.
-* All Rights Reserved.
-*
-* Contributor(s):
-*
-* ***** END LICENSE BLOCK *****
-*/
-
-
-//
-// Constructor
-//
-
-/**
* Constructs a control that shows two lists of items and allows the user
* to move items between the two lists.
*
@@ -4476,6 +4321,7 @@
}
return true;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtText.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -4536,6 +4382,7 @@
function() {
return this._textNode;
}
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/XFormChoices.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -4738,6 +4585,7 @@
XFormChoices.prototype.removeListener = function(eventType, listener) {
return this._eventMgr.removeListener(eventType, listener);
}
+/**** Autoinclude function file:./zimbra/js/util/AjxTimedAction.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -4811,6 +4659,7 @@
delete action._tid;
action.run();
};
+/**** Autoinclude function file:./zimbra/js/events/AjxListener.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -4870,6 +4719,7 @@
function(ev) {
return AjxCallback.prototype.run.call(this, ev);
}
+/**** Autoinclude function file:./zimbra/js/events/AjxEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -4903,6 +4753,7 @@
function() {
return "AjxEvent";
}
+/**** Autoinclude function file:./zimbra/js/core/AjxException.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -4956,6 +4807,7 @@
AjxException.UNSUPPORTED = "AjxException.UNSUPPORTED";
AjxException.UNKNOWN_ERROR = "AjxException.UNKNOWN_ERROR";
AjxException.CANCELED = "AjxException.CANCELED";
+/**** Autoinclude function file:./zimbra/js/dwt/core/Dwt.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -5533,6 +5385,7 @@
}
return -1;
};
+/**** Autoinclude function file:./zimbra/js/dwt/core/DwtImg.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -5631,6 +5484,7 @@
DwtImg.TAB_SPACER = ["tab_spacer",10,10];
+/**** Autoinclude function file:./zimbra/js/net/AjxPost.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -5788,6 +5642,7 @@
function() {
this._cancelled = true;
};
+/**** Autoinclude function file:./zimbra/js/util/AjxBuffer.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -5874,6 +5729,7 @@
return arguments.join("");
}
AjxBuffer.append = AjxBuffer.concat;
+/**** Autoinclude function file:./zimbra/js/util/AjxCache.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -5986,6 +5842,7 @@
this._cache[key] = null
}
}
+/**** Autoinclude function file:./zimbra/js/net/AjxRpc.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6140,6 +5997,7 @@
this.req = new AjxRpcRequest(id, this);
this.busy = false;
};
+/**** Autoinclude function file:./zimbra/js/dwt/graphics/DwtRectangle.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6178,6 +6036,7 @@
function() {
return "DwtRectangle";
}
+/**** Autoinclude function file:./zimbra/js/dwt/graphics/DwtPoint.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6213,6 +6072,7 @@
function() {
return "DwtPoint";
}
+/**** Autoinclude function file:./zimbra/js/dwt/graphics/DwtCssStyle.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6303,6 +6163,7 @@
else if (htmlElement.style)
return htmlElement.style;
}
+/**** Autoinclude function file:./zimbra/js/dwt/core/DwtDraggable.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6507,6 +6368,7 @@
e.layerY = e.offsetY;
return e;
}
+/**** Autoinclude function file:./zimbra/js/dwt/core/DwtException.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6549,7 +6411,8 @@
DwtException.INVALIDPARENT = -1;
DwtException.INVALID_OP = -2;
DwtException.INTERNAL_ERROR = -3;
-DwtException.INVALID_PARAM = -4;/*
+DwtException.INVALID_PARAM = -4;/**** Autoinclude function file:./zimbra/js/dwt/graphics/DwtUnits.js****/
+/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
@@ -6589,6 +6452,7 @@
DwtUnits.WIDTH_EM = AjxEnv.isIE ? 9 : 11; // width of "m"
DwtUnits.WIDTH_SEP = AjxEnv.isIE ? 6 : 8; // width of ", "
DwtUnits.WIDTH_ELLIPSIS = 15; // width of " ... "
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtUiEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6801,6 +6665,7 @@
ev.cancelBubble = stopPropagation;
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtDisposeEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6839,6 +6704,7 @@
function() {
return "DwtDisposeEvent";
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtDateRangeEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6884,6 +6750,7 @@
this.start = null;
this.end = null;
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtEventManager.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -6955,6 +6822,7 @@
DwtEventManager.addListener(dwtEventName, listener);
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -7041,6 +6909,7 @@
DwtEvent.MOUSE_EVENTS = [DwtEvent.ONCONTEXTMENU, DwtEvent.ONDBLCLICK, DwtEvent.ONMOUSEDOWN,
DwtEvent.ONMOUSEMOVE, DwtEvent.ONMOUSEUP, DwtEvent.ONSELECTSTART,
DwtEvent.ONMOUSEOVER, DwtEvent.ONMOUSEOUT];
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtControlEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -7089,6 +6958,7 @@
this.newWidth = Dwt.DEFAULT;
this.newHeight = Dwt.DEFAULT;
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtSelectionEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -7138,6 +7008,7 @@
this.item = null;
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtMouseEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -7224,7 +7095,8 @@
this.altKey = false;
}
}
-}/*
+}/**** Autoinclude function file:./zimbra/js/dwt/events/DwtMouseEventCapture.js****/
+/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
@@ -7383,6 +7255,7 @@
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtListViewActionEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -7429,7 +7302,8 @@
this.field = null;
this.item = null;
this.detail = null;
-}/*
+}/**** Autoinclude function file:./zimbra/js/util/AjxText.js****/
+/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
@@ -8939,6 +8813,7 @@
}
return formatter.format(number);
};
+/**** Autoinclude function file:./zimbra/js/dwt/dnd/DwtDropTarget.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -9082,6 +8957,7 @@
this._evtMgr.notifyListeners(DwtDropTarget._DROP_LISTENER, DwtDropTarget._dropEvent);
return DwtDropTarget._dropEvent.doIt;
}
+/**** Autoinclude function file:./zimbra/js/dwt/dnd/DwtDropEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -9119,7 +8995,8 @@
DwtDropEvent.DRAG_ENTER = 1;
DwtDropEvent.DRAG_LEAVE = 2;
DwtDropEvent.DRAG_OP_CHANGED = 3;
-DwtDropEvent.DRAG_DROP = 4;/*
+DwtDropEvent.DRAG_DROP = 4;/**** Autoinclude function file:./zimbra/js/dwt/events/DwtTreeEvent.js****/
+/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
@@ -9161,6 +9038,7 @@
function(ev, win) {
ev = DwtSelectionEvent.prototype.setFromDhtmlEvent.call(this, ev);
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtHoverEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -9211,7 +9089,8 @@
this.object = null;
this.x = -1;
this.y = -1;
-}/*
+}/**** Autoinclude function file:./zimbra/js/dwt/dnd/DwtDragEvent.js****/
+/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
@@ -9248,6 +9127,7 @@
DwtDragEvent.DRAG_START = 1;
DwtDragEvent.SET_DATA = 2;
DwtDragEvent.DRAG_END = 3;
+/**** Autoinclude function file:./zimbra/js/dwt/dnd/DwtDragSource.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -9332,6 +9212,7 @@
this._evtMgr.notifyListeners(DwtDragSource._DRAG_LISTENER, DwtDragSource._dragEvent);
return DwtDragSource._dragEvent.doit;
}
+/**** Autoinclude function file:./zimbra/js/util/AjxWindowOpener.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -9436,6 +9317,7 @@
}
}
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtHoverMgr.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -9583,6 +9465,7 @@
this._hoverOutListener.handleEvent(event);
}
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtControl.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -10741,6 +10624,7 @@
this._lastTooltipX = null;
this._lastTooltipY = null;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtComposite.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -10878,6 +10762,7 @@
}
DwtComposite.prototype._update = function() {}
+/**** Autoinclude function file:./zimbra/js/util/AjxVector.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -11143,6 +11028,7 @@
function(a, b) {
return a < b ? -1 : (a > b ? 1 : 0);
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtLabel.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -11412,6 +11298,7 @@
}
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtShell.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -11860,6 +11747,7 @@
shell._currWinSize = Dwt.getWindowSize();
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtColorPicker.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -12205,6 +12093,7 @@
mouseEv.setToDhtmlEvent(ev)
return false;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtBaseDialog.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -12698,6 +12587,7 @@
function (element) {
return Dwt.contains(this.getHtmlElement(), element);
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtDialog.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -13133,508 +13023,7 @@
this._buttonDesc[id].callback = new AjxCallback(this, this.popdown);
}
};
-/*
-* ***** BEGIN LICENSE BLOCK *****
-* Version: MPL 1.1
-*
-* The contents of this file are subject to the Mozilla Public
-* License Version 1.1 ("License"); you may not use this file except in
-* compliance with the License. You may obtain a copy of the License at
-* http://www.zimbra.com/license
-*
-* Software distributed under the License is distributed on an "AS IS"
-* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
-* the License for the specific language governing rights and limitations
-* under the License.
-*
-* The Original Code is: Zimbra AJAX Toolkit.
-*
-* The Initial Developer of the Original Code is Zimbra, Inc.
-* Portions created by Zimbra are Copyright (C) 2005 Zimbra, Inc.
-* All Rights Reserved.
-*
-* Contributor(s):
-*
-* ***** END LICENSE BLOCK *****
-*/
-
-/**
-* Creates an input field.
-* @constructor
-* @class
-* This class represents an input field..
-*
-* CSS Elements
-* <className> input specifies the look of the input field during normal editing
-* <className>-error input specifies the look of the input field in an error state
-*
-*
-* @author Ross Dargahi
-*
-* @param parent [DwtComposite] the parent widget
-* @param type [constant] the data type of the input field
-* @param initialValue [string] the initial value of the field
-* @param size [int] size of the input field (in characters)
-* @param rows [int] number of rows (more than 1 means textarea)
-* @param maxLen [int] maximum length (in characters) of the input
-* @param errorIconStyle [constant] error icon style
-* @param validationStyle [constant] validation type
-* @param validator [function] custom validation function
-* @param validatorCtxtObj [object] object context for validation function
-* @param className [string] CSS class
-* @param posStyle [constant] positioning style
-*/
-function DwtInputField(params) {
-
- if (arguments.length == 0) return;
- this._origClassName = params.className ? params.className : "DwtInputField";
- this._errorClassName = this._origClassName + "-Error";
- DwtControl.call(this, params.parent, params.className, params.posStyle);
-
- this._type = params.type ? params.type : DwtInputField.STRING;
- this._errorIconStyle = params.errorIconStyle ? params.errorIconStyle :
- params.validator ? DwtInputField.ERROR_ICON_RIGHT : DwtInputField.ERROR_ICON_NONE;
- this._validationStyle = params.validationStyle ? params.validationStyle : DwtInputField.ONEXIT_VALIDATION;
-
- var inputFieldId = Dwt.getNextId();
- var errorIconId = Dwt.getNextId();
- var htmlEl = this.getHtmlElement();
- if (this._errorIconStyle == DwtInputField.ERROR_ICON_NONE) {
- if (params.rows && params.rows > 1) {
- htmlEl.innerHTML =["<textarea id='", inputFieldId, "' rows=", params.rows, "></textarea"].join("");
- } else {
- htmlEl.innerHTML = ["<input autocomplete='off' id='", inputFieldId, "' type='",
- (this._type != DwtInputField.PASSWORD) ? "text" : "password", "'/>"].join("");
- }
-
- } else {
- var htmlArr = ["<table cellspacing='0' cellpadding='0'><tr>"];
- var i = 1;
- if (this._errorIconStyle == DwtInputField.ERROR_ICON_LEFT)
- htmlArr[i++] = ["<td style='padding-right:2px;'id='", errorIconId, "'></td>"].join("");
-
- htmlArr[i++] = ["<td><input autocomplete='off' id='", inputFieldId, "' type='",
- (this._type != DwtInputField.PASSWORD) ? "text" : "password",
- "'/></td>"].join("");
-
- if (this._errorIconStyle == DwtInputField.ERROR_ICON_RIGHT)
- htmlArr[i++] = ["<td style='padding-left:2px;' id='", errorIconId, "'></td>"].join("");
-
- htmlArr[i++] = "</tr></table>";
- htmlEl.innerHTML = htmlArr.join("");
-
- if (this._errorIconStyle != DwtInputField.ERROR_ICON_NONE) {
- this._errorIconTd = document.getElementById(errorIconId);
- this._errorIconTd.vAlign = "middle";
- this._errorIconTd.innerHTML = DwtInputField._NOERROR_ICON_HTML;
- }
- }
-
- this._inputField = document.getElementById(inputFieldId);
- Dwt.associateElementWithObject(this._inputField, this);
-
- this._inputField.onkeyup = DwtInputField._keyUpHdlr;
- this._inputField.onblur = DwtInputField._blurHdlr;
-
- if (params.size)
- this._inputField.size = params.size;
- if (params.maxLen)
- this._inputField.maxLength = this._maxLen = params.maxLen;
-
- this.setCursor("default");
-
- this._inputField.value = params.initialValue || "";
-
- this.setValidatorFunction(params.validatorCtxtObj, params.validator);
- this._setMouseEventHdlrs(false);
- this._setKeyPressEventHdlr(false);
-};
-
-DwtInputField.prototype = new DwtControl;
-DwtInputField.prototype.constructor = DwtInputField;
-
-// Error Icon Style
-DwtInputField.ERROR_ICON_LEFT = 1;
-DwtInputField.ERROR_ICON_RIGHT = 2;
-DwtInputField.ERROR_ICON_NONE = 3;
-
-// Validation Style
-DwtInputField.CONTINUAL_VALIDATION = 1; // validate field after each character is typed
-DwtInputField.ONEXIT_VALIDATION = 2; // validate the field (i.e. after TAB or CR)
-DwtInputField.MANUAL_VALIDATION = 3; // validate the field manually
-
-// types
-DwtInputField.NUMBER = 1; // Integer or float input filed
-DwtInputField.INTEGER = 2; // Integer input field (no floating point numbers)
-DwtInputField.FLOAT = 3; // Numeric input field
-DwtInputField.STRING = 4; // String input field
-DwtInputField.PASSWORD = 5; // Password input field
-DwtInputField.DATE = 6; // Date input field
-
-DwtInputField._ERROR_ICON_HTML = AjxImg.getImageHtml("ClearSearch");
-DwtInputField._NOERROR_ICON_HTML = AjxImg.getImageHtml("Blank_9");
-
-// Public methods
-
-DwtInputField.prototype.toString =
-function() {
- return "DwtInputField";
-};
-
-/**
-* Sets the validator function. This function is executed during validation
-*
-* @param obj [object] If present then the validator function is executed within
-* the context of this object
-* @param validator [function] Validator function
-*/
-DwtInputField.prototype.setValidatorFunction =
-function(obj, validator) {
- if (validator) {
- this._validator = validator;
- this._validatorObj = obj;
- } else {
- switch (this._type) {
- case DwtInputField.NUMBER: this._validator = DwtInputField.validateNumber; break;
- case DwtInputField.INTEGER: this._validator = DwtInputField.validateInteger; break;
- case DwtInputField.FLOAT: this._validator = DwtInputField.validateFloat; break;
- case DwtInputField.STRING:
- case DwtInputField.PASSWORD:this._validator = DwtInputField.validateString; break;
- case DwtInputField.DATE: this._validator = DwtInputField.validateDate; break;
- default: this._validator = DwtInputField.validateAny;
- }
- }
-};
-
-/**
-* Sets the validator to be a regular expression instead of a function
-*
-* @param regExp [reg exp] regular exxression
-* @param errorString Error string to set for tooltip if the user enters invalid data
-*/
-DwtInputField.prototype.setValidatorRegExp =
-function(regExp, errorString) {
- this._validator = regExp;
- this._validatorObj = null;
- this._errorString = errorString || "";
-};
-
-/**
-* Sets a validation callback. This callback is invoked any time
-* the input field is validated. The callback is invoked with two
-* parameters. The first (params[0]) is the value of the input field
-* The second is a boolean that if true indicates if the value is valid
-*
-* @param callback [AjxCallback] The callback
-*/
-DwtInputField.prototype.setValidationCallback =
-function(callback) {
- this._validationCallback = callback;
-};
-
-/**
-* Gets the internal native input element
-*
-* @return native input element
-*/
-DwtInputField.prototype.getInputElement =
-function() {
- return this._inputField;
-};
-
-/**
-* Gets the input fields current value
-*
-* @return Input field's current value
-*/
-DwtInputField.prototype.getValue =
-function() {
- return this._inputField.value;
-};
-
-/**
- * Sets a new value for the input field
- *
- * XXX: if we're disabled, the validation step messes up the style
- */
-DwtInputField.prototype.setValue =
-function(value, noValidate) {
- this._inputField.value = value;
- if (!noValidate) {
- value = this._validateInput(value);
- if (value != null)
- this._inputField.value = value;
- }
-};
-
-/**
- * This method is only applicable for numeric input fields. It sets
- * the valid range (inclusive) of numeric values for the field
- *
- * @param min minimum permittedvalue. If null, then no minimum is established
- * @param max maximum permitted value. If null, then no maximum is established
- */
-DwtInputField.prototype.setValidNumberRange =
-function(min, max) {
- this._minNumVal = min;
- this._maxNumVal = max;
- var value = this._validateInput(this._inputField.value);
- if (value != null)
- this._inputField.value = value;
-};
-
-DwtInputField.prototype.setValidStringLengths =
-function(minLen, maxLen) {
- this._minLen = minLen || 0;
- if (maxLen != null) {
- this._inputField.maxLength = maxLen;
- this._maxLen = maxLen;
- }
-};
-
-DwtInputField.prototype.setNumberPrecision =
-function(decimals) {
- this._decimals = decimals;
-};
-
-DwtInputField.prototype.setReadOnly =
-function(readonly) {
- this._inputField.setAttribute("readonly", (readonly == null ? true : readonly));
-};
-
-DwtInputField.prototype.setRequired =
-function(required) {
- this._required = required == null ? true : required;
-};
-
-DwtInputField.prototype.disabled =
-function(disabled) {
- this.getInputElement().disabled = disabled;
-};
-
-DwtInputField.prototype.isDisabled =
-function() {
- return this.getInputElement().disabled;
-};
-
-DwtInputField.prototype.focus =
-function() {
- this.getInputElement().focus();
-};
-
-DwtInputField.prototype.blur =
-function() {
- this.getInputElement().blur();
-};
-
-DwtInputField.prototype.setVisible =
-function(visible) {
- Dwt.setVisible(this.getInputElement(), visible);
-};
-
-/**
- * Checks the validity of the input field's value
- *
- * @return a canonical value if valid, or null if the field's value is not
- * valid. Check for correction using dwtInputField.isValid() != null.
- */
-DwtInputField.prototype.isValid =
-function() {
- try {
- if (typeof this._validator == "function") {
- return this._validatorObj
- ? this._validator.call(this._validatorObj, this._inputField.value)
- : this._validator(this._inputField.value);
- } else {
- return this._validator.test(this._inputField.value);
- }
- } catch(ex) {
- if (typeof ex == "string")
- return null;
- else
- throw ex;
- }
-};
-
-/**
- * Validates the current input in the field. This method should be called
- * if the validation style has been set to DwtInputField.MANUAL_VALIDATION
- * and it is time for the field to be validated
- *
- * @return true if the field is valid, else false
- */
-DwtInputField.prototype.validate =
-function() {
- var value = this._validateInput(this._inputField.value);
- if (value != null) {
- this._inputField.value = value;
- return true;
- } else {
- return false;
- }
-};
-
-/* Built-in validators */
-
-DwtInputField.validateNumber =
-function(value) {
- var n = new Number(value);
- if (isNaN(n) || (Math.round(n) != n))
- throw AjxMsg.notAnInteger;
- return DwtInputField.validateFloat.call(this, value);
-};
-
-DwtInputField.validateInteger =
-function(value) {
- var n = new Number(value);
- if (isNaN(n) || (Math.round(n) != n))
- throw AjxMsg.notAnInteger;
- return value;
-};
-
-DwtInputField.validateFloat =
-function(value) {
- if (this._required && value == "")
- throw AjxMsg.valueIsRequired;
- var n = new Number(value);
- if (isNaN(n))
- throw AjxMsg.notANumber;
- if (this._minNumVal && value < this._minNumVal)
- throw AjxMessageFormat.format(AjxMsg.numberLessThanMin, this._minNumVal);
- if (this._maxNumVal && value > this._maxNumVal)
- throw AjxMessageFormat.format(AjxMsg.numberMoreThanMax, this._maxNumVal);
-
- // make canonical value
- if (this._decimals != null) {
- var str = n.toString();
- var pos = str.indexOf(".");
- if (pos == -1)
- pos = str.length;
- value = n.toPrecision(pos + this._decimals);
- } else {
- value = n.toString();
- }
-
- return value;
-};
-
-DwtInputField.validateString =
-function(value) {
- if (this._required && value == "")
- throw AjxMsg.valueIsRequired;
- if (this._minLen != null && value.length < this._minLen)
- throw AjxMessageFormat.format(AjxMsg.stringTooShort, this._minLen);
- if (this._maxLen != null && value.length > this._maxLen)
- throw AjxMessageFormat.format(AjxMsg.stringTooLong, this._maxLen);
- return value;
-};
-
-DwtInputField.validateDate =
-function(value) {
- if (this._required && value == "")
- throw AjxMsg.valueIsRequired;
-
- if (AjxDateUtil.simpleParseDateStr(value) == null) {
- throw AjxMsg.invalidDatetimeString;
- }
-
- return value;
-};
-
-DwtInputField.validateAny =
-function(value) {
- if (this._required && value == "")
- throw AjxMsg.valueIsRequired;
- // note that null will always be regarded as invalid. :-) I guess this
- // is OK. An input field never has a null value.
- return value;
-};
-
-// Private methods
-
-DwtInputField.prototype._validateRegExp =
-function(value) {
- if (this._required && value == "")
- throw AjxMsg.valueIsRequired;
- if (this._regExp && !this._regExp.test(value)) {
- throw this._errorString;
- }
- return value;
-};
-
-DwtInputField._keyUpHdlr =
-function(ev) {
- var keyEv = DwtShell.keyEvent;
- keyEv.setFromDhtmlEvent(ev);
-
- var obj = keyEv.dwtObj;
- var keyCode = keyEv.keyCode;
-
- // ENTER || TAB
- var val = null;
- if ((keyCode == 0x0D || keyCode == 0x09)
- && obj._validationStyle == DwtInputField.ONEXIT_VALIDATION)
- val = obj._validateInput(keyEv.target.value);
- else if (obj._validationStyle == DwtInputField.CONTINUAL_VALIDATION)
- val = obj._validateInput(keyEv.target.value);
-
- if (val != null)
- keyEv.target.value = val;
-
- return true;
-};
-
-DwtInputField._blurHdlr =
-function(ev) {
- var obj = DwtUiEvent.getDwtObjFromEvent(ev);
- if (obj && obj._validationStyle == DwtInputField.ONEXIT_VALIDATION) {
- var val = obj._validateInput(obj._inputField.value);
- if (val != null)
- obj._inputField.value = val;
- }
-};
-
-DwtInputField.prototype._validateInput =
-function(value) {
- var isValid = true;
- var retVal;
- var errorStr;
-
- try {
- if (typeof this._validator == "function") {
- retVal = value = this._validatorObj
- ? this._validator.call(this._validatorObj, value)
- : this._validator(value);
- } else if (!this._validator.test(value)) {
- errorStr = this._errorString;
- }
- } catch(ex) {
- if (typeof ex == "string")
- errorStr = ex;
- else
- throw ex;
- }
-
- if (errorStr) {
- this.getHtmlElement().className = this._errorClassName;
- if (this._errorIconTd)
- this._errorIconTd.innerHTML = DwtInputField._ERROR_ICON_HTML;
- this.setToolTipContent(errorStr);
- isValid = false;
- retVal = null;
- } else {
- this.getHtmlElement().className = this._origClassName;
- if (this._errorIconTd)
- this._errorIconTd.innerHTML = DwtInputField._NOERROR_ICON_HTML;
- this.setToolTipContent(null);
- isValid = true;
- }
-
- if (this._validationCallback)
- this._validationCallback.run(this, isValid, value);
-
- return retVal;
-};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtButton.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -14174,6 +13563,7 @@
return false;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtMenuItem.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -14813,6 +14203,7 @@
}
return true;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtMenu.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -15501,6 +14892,7 @@
DwtMenu._activeMenu.popdown();
}
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtMessageDialog.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -15617,6 +15009,7 @@
function(ev) {
this._runEnterCallback();
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtHtmlEditor.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -16542,6 +15935,7 @@
return iFrameDoc && iFrameDoc.body ?
AjxStringUtil.convertHtml2Text(iFrameDoc.body) : "";
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtToolBar.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -16708,6 +16102,7 @@
col.appendChild(element);
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtSash.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -16880,6 +16275,7 @@
return false;
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtCalendar.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -17893,6 +17289,7 @@
function(ev) {
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtTree.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -18225,7 +17622,8 @@
destEv.detail = detail;
this.notifyListeners(listener, destEv);
}
-}/*
+}/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtTreeItem.js****/
+/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
@@ -18896,6 +18294,7 @@
mouseEv.dwtObj._tree._itemActioned(mouseEv.dwtObj, mouseEv);
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtStickyToolTip.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -18994,6 +18393,7 @@
DwtStickyToolTip.prototype._getContentHtml = function () {
return "";
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtToolTip.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -19200,6 +18600,7 @@
var zIndex = dialog ? dialog.getZIndex() + Dwt.Z_INC : Dwt.Z_TOOLTIP;
Dwt.setZIndex(element, zIndex);
}
+/**** Autoinclude function file:./zimbra/js/dwt/graphics/DwtBorder.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -19826,6 +19227,7 @@
end:""
}
);
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtSelect.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -20468,6 +19870,7 @@
//this.setLocation(x, y);
menu.popup(0, x, y);
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtWizardDialog.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -20956,6 +20359,7 @@
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtTabView.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -21686,6 +21090,7 @@
AjxImg.setImage(this.bottomImg, imagePrefix + "_B__H", AjxImg.HORIZ_BORDER, true);
AjxImg.setImage(this.rightBottomImg, imagePrefix + "_BR", null, true);
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtPropertyPage.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -21970,6 +21375,7 @@
function () {
//abstract method
}
+/**** Autoinclude function file:./zimbra/js/debug/AjxDebug.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -22875,6 +22281,7 @@
this.eHtml = extraHtml ? extraHtml : '';
this.linkName = linkName;
};
+/**** Autoinclude function file:./zimbra/js/xml/AjxXmlDoc.js****/
/*
* Copyright (C) 2006, The Apache Software Foundation.
*
@@ -23126,6 +22533,7 @@
AjxXmlDoc._inited = true;
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtIframe.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -23365,6 +22773,7 @@
// idoc[DwtEvent.ONCONTEXTMENU] = DwtShell._preventDefaultPrt;
})();
};
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/XModel.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -23881,6 +23290,7 @@
if (arg4 !== null) msg = msg.split("{4}").join(arg4);
return msg;
}
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/XFormGlobal.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -24173,6 +23583,7 @@
arguments.join = Array.prototype.join;
return arguments.join("");
}
+/**** Autoinclude function file:./zimbra/js/debug/AjxDebugXmlDocument.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -24287,6 +23698,7 @@
});
*/
}
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/XModelItem.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -25095,6 +24507,7 @@
Percent_XModelItem.prototype.validateType = XModelItem.prototype.validateNumber;
Percent_XModelItem.prototype.minInclusive = 0;
Percent_XModelItem.prototype.maxInclusive = 100;
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtPropertySheet.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -25266,6 +24679,7 @@
srcChild = srcParent.firstChild;
}
};
+/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtGrouper.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -25355,7 +24769,8 @@
DwtGrouper.prototype.setView = function(control) {
this.setElement(control.getHtmlElement());
-};/*
+};/**** Autoinclude function file:./zimbra/js/dwt/widgets/DwtProgressBar.js****/
+/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
@@ -25515,6 +24930,7 @@
this.getHtmlElement().appendChild(this._table);
}
+/**** Autoinclude function file:./zimbra/js/dwt/events/DwtXFormsEvent.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -25551,6 +24967,7 @@
DwtEvent.prototype.toString = function() {
return "DwtXFormsEvent";
}
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/XForm.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -26417,6 +25834,7 @@
delete this._itemsToInsert[item.getId()];
}
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/XFormItem.js****/
/*
* Copyright (C) 2006, The Apache Software Foundation.
*
@@ -30543,7 +29961,8 @@
this.getWidget().setMaxValue(maxvalue);
}
this.getWidget().setValue(newvalue);
-}/*
+}/**** Autoinclude function file:./zimbra/js/core/AjxImg.js****/
+/*
* $Id: AjxImg.js,v 1.5 2006/06/12 15:01:19 mturyn Exp $
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
@@ -30763,6 +30182,7 @@
}
return [pre, "<div ", styleStr, " ", attrStr, "></div>", post].join("");
}
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/OSelect_XFormItem.js****/
/*
* Copyright (C) 2006, The Apache Software Foundation.
*
@@ -31538,6 +30958,7 @@
checks[0].checked = false;
}
}
+/**** Autoinclude function file:./zimbra/js/dwt/xforms/ButtonGrid.js****/
/*
* Copyright (C) 2006, The Apache Software Foundation.
*
@@ -31739,6 +31160,7 @@
this.__lastDisplayValue = valueStr;
}
+/**** Autoinclude function file:./zimbra/js/events/AjxEventMgr.js****/
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1