http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta-min.js
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta-min.js
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta-min.js
index c5aee13..872b247 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta-min.js
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta-min.js
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2007, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.3.1
-*/
+ * 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.
+ */
 (function(){var 
G=YAHOO.util.Dom,L=YAHOO.util.Event,I=YAHOO.lang,B=YAHOO.widget.Overlay,J=YAHOO.widget.Menu,D={},K=null,E=null,C=null;function
 F(N,M,Q,O){var 
R,P;if(I.isString(N)&&I.isString(M)){if(YAHOO.env.ua.ie){P="<input 
type=\""+N+"\" name=\""+M+"\"";if(O){P+=" 
checked";}P+=">";R=document.createElement(P);}else{R=document.createElement("input");R.name=M;R.type=N;if(O){R.checked=true;}}R.value=Q;return
 R;}}function H(N,T){var M=N.nodeName.toUpperCase(),R=this,S,O,P;function 
U(V){if(!(V in T)){S=N.getAttributeNode(V);if(S&&("value" in 
S)){T[V]=S.value;}}}function 
Q(){U("type");if(T.type=="button"){T.type="push";}if(!("disabled" in 
T)){T.disabled=N.disabled;}U("name");U("value");U("title");}switch(M){case"A":T.type="link";U("href");U("target");break;case"INPUT":Q();if(!("checked"
 in 
T)){T.checked=N.checked;}break;case"BUTTON":Q();O=N.parentNode.parentNode;if(G.hasClass(O,this.CSS_CLASS_NAME+"-checked")){T.checked=true;}if(G.hasClass(O,this.CSS_CLASS_NAME+"-disabled")){T.disabled=t
 
rue;}N.removeAttribute("value");N.setAttribute("type","button");break;}N.removeAttribute("id");N.removeAttribute("name");if(!("tabindex"
 in T)){T.tabindex=N.tabIndex;}if(!("label" in 
T)){P=M=="INPUT"?N.value:N.innerHTML;if(P&&P.length>0){T.label=P;}}}function 
A(O){var 
N=O.attributes,M=N.srcelement,Q=M.nodeName.toUpperCase(),P=this;if(Q==this.NODE_NAME){O.element=M;O.id=M.id;G.getElementsBy(function(R){switch(R.nodeName.toUpperCase()){case"BUTTON":case"A":case"INPUT":H.call(P,R,N);break;}},"*",M);}else{switch(Q){case"BUTTON":case"A":case"INPUT":H.call(this,M,N);break;}}}YAHOO.widget.Button=function(Q,N){var
 
P=YAHOO.widget.Button.superclass.constructor,O,M;if(arguments.length==1&&!I.isString(Q)&&!Q.nodeName){if(!Q.id){Q.id=G.generateId();}P.call(this,(this.createButtonElement(Q.type)),Q);}else{O={element:null,attributes:(N||{})};if(I.isString(Q)){M=G.get(Q);if(M){if(!O.attributes.id){O.attributes.id=Q;}O.attributes.srcelement=M;A.call(this,O);if(!O.element){O.element=this.createButton
 
Element(O.attributes.type);}P.call(this,O.element,O.attributes);}}else{if(Q.nodeName){if(!O.attributes.id){if(Q.id){O.attributes.id=Q.id;}else{O.attributes.id=G.generateId();}}O.attributes.srcelement=Q;A.call(this,O);if(!O.element){O.element=this.createButtonElement(O.attributes.type);}P.call(this,O.element,O.attributes);}}}};YAHOO.extend(YAHOO.widget.Button,YAHOO.util.Element,{_button:null,_menu:null,_hiddenFields:null,_onclickAttributeValue:null,_activationKeyPressed:false,_activationButtonPressed:false,_hasKeyEventHandlers:false,_hasMouseEventHandlers:false,NODE_NAME:"SPAN",CHECK_ACTIVATION_KEYS:[32],ACTIVATION_KEYS:[13,32],OPTION_AREA_WIDTH:20,CSS_CLASS_NAME:"yui-button",RADIO_DEFAULT_TITLE:"Unchecked.
  Click to check.",RADIO_CHECKED_TITLE:"Checked.  Click to 
uncheck.",CHECKBOX_DEFAULT_TITLE:"Unchecked.  Click to 
check.",CHECKBOX_CHECKED_TITLE:"Checked.  Click to 
uncheck.",MENUBUTTON_DEFAULT_TITLE:"Menu collapsed.  Click to 
expand.",MENUBUTTON_MENU_VISIBLE_TITLE:"Menu expanded. 
  Click or press Esc to collapse.",SPLITBUTTON_DEFAULT_TITLE:("Menu collapsed.  
Click inside option region or press Ctrl + Shift + M to show the 
menu."),SPLITBUTTON_OPTION_VISIBLE_TITLE:"Menu expanded.  Press Esc or Ctrl + 
Shift + M to hide the menu.",SUBMIT_TITLE:"Click to submit 
form.",_setType:function(M){if(M=="split"){this.on("option",this._onOption);}},_setLabel:function(M){this._button.innerHTML=M;var
 
O,N;if(YAHOO.env.ua.gecko&&G.inDocument(this.get("element"))){N=this;O=this.CSS_CLASS_NAME;this.removeClass(O);window.setTimeout(function(){N.addClass(O);},0);}},_setTabIndex:function(M){this._button.tabIndex=M;},_setTitle:function(N){var
 
M=N;if(this.get("type")!="link"){if(!M){switch(this.get("type")){case"radio":M=this.RADIO_DEFAULT_TITLE;break;case"checkbox":M=this.CHECKBOX_DEFAULT_TITLE;break;case"menu":M=this.MENUBUTTON_DEFAULT_TITLE;break;case"split":M=this.SPLITBUTTON_DEFAULT_TITLE;break;case"submit":M=this.SUBMIT_TITLE;break;}}this._button.title=M;}},_setDisabled:function
 
(M){if(this.get("type")!="link"){if(M){if(this._menu){this._menu.hide();}if(this.hasFocus()){this.blur();}this._button.setAttribute("disabled","disabled");this.addStateCSSClasses("disabled");this.removeStateCSSClasses("hover");this.removeStateCSSClasses("active");this.removeStateCSSClasses("focus");}else{this._button.removeAttribute("disabled");this.removeStateCSSClasses("disabled");}}},_setHref:function(M){if(this.get("type")=="link"){this._button.href=M;}},_setTarget:function(M){if(this.get("type")=="link"){this._button.setAttribute("target",M);}},_setChecked:function(N){var
 
O=this.get("type"),M;if(O=="checkbox"||O=="radio"){if(N){this.addStateCSSClasses("checked");M=(O=="radio")?this.RADIO_CHECKED_TITLE:this.CHECKBOX_CHECKED_TITLE;}else{this.removeStateCSSClasses("checked");M=(O=="radio")?this.RADIO_DEFAULT_TITLE:this.CHECKBOX_DEFAULT_TITLE;}this.set("title",M);}},_setMenu:function(W){var
 
Q=this.get("lazyloadmenu"),T=this.get("element"),M=J.prototype.CSS_CLASS_NAME,Y=false,Z,P,S,
 O,N,V,R;if(!B){return false;}if(!J){return false;}function 
X(){Z.render(T.parentNode);this.removeListener("appendTo",X);}function 
U(){if(Z){G.addClass(Z.element,this.get("menuclassname"));G.addClass(Z.element,"yui-"+this.get("type")+"-button-menu");Z.showEvent.subscribe(this._onMenuShow,null,this);Z.hideEvent.subscribe(this._onMenuHide,null,this);Z.renderEvent.subscribe(this._onMenuRender,null,this);if(Z
 instanceof 
J){Z.keyDownEvent.subscribe(this._onMenuKeyDown,this,true);Z.subscribe("click",this._onMenuClick,this,true);Z.itemAddedEvent.subscribe(this._onMenuItemAdded,this,true);S=Z.srcElement;if(S&&S.nodeName.toUpperCase()=="SELECT"){S.style.display="none";S.parentNode.removeChild(S);}}else{if(Z
 instanceof B){if(!K){K=new 
YAHOO.widget.OverlayManager();}K.register(Z);}}this._menu=Z;if(!Y){if(Q&&!(Z 
instanceof 
J)){Z.beforeShowEvent.subscribe(this._onOverlayBeforeShow,null,this);}else{if(!Q){if(G.inDocument(T)){Z.render(T.parentNode);}else{this.on("appendTo",X);}}}}}}if(W&&(W
 instanc
 eof J)){Z=W;O=Z.getItems();
 
N=O.length;Y=true;if(N>0){R=N-1;do{V=O[R];if(V){V.cfg.subscribeToConfigEvent("selected",this._onMenuItemSelected,V,this);}}while(R--);}U.call(this);}else{if(W&&(W
 instanceof 
B)){Z=W;Y=true;Z.cfg.setProperty("visible",false);Z.cfg.setProperty("context",[T,"tl","bl"]);U.call(this);}else{if(I.isArray(W)){this.on("appendTo",function(){Z=new
 
J(G.generateId(),{lazyload:Q,itemdata:W});U.call(this);});}else{if(I.isString(W)){P=G.get(W);if(P){if(G.hasClass(P,M)||P.nodeName.toUpperCase()=="SELECT"){Z=new
 J(W,{lazyload:Q});U.call(this);}else{Z=new 
B(W,{visible:false,context:[T,"tl","bl"]});U.call(this);}}}else{if(W&&W.nodeName){if(G.hasClass(W,M)||W.nodeName.toUpperCase()=="SELECT"){Z=new
 J(W,{lazyload:Q});U.call(this);}else{if(!W.id){G.generateId(W);}Z=new 
B(W,{visible:false,context:[T,"tl","bl"]});U.call(this);}}}}}}},_setOnClick:function(M){if(this._onclickAttributeValue&&(this._onclickAttributeValue!=M)){this.removeListener("click",this._onclickAttributeValue.fn);this._onclickAttributeValu
 
e=null;}if(!this._onclickAttributeValue&&I.isObject(M)&&I.isFunction(M.fn)){this.on("click",M.fn,M.obj,M.scope);this._onclickAttributeValue=M;}},_setSelectedMenuItem:function(N){var
 M=this._menu,O;if(M&&M instanceof 
J){O=M.getItem(N);if(O&&!O.cfg.getProperty("selected")){O.cfg.setProperty("selected",true);}}},_isActivationKey:function(M){var
 
Q=this.get("type"),N=(Q=="checkbox"||Q=="radio")?this.CHECK_ACTIVATION_KEYS:this.ACTIVATION_KEYS,P=N.length,O;if(P>0){O=P-1;do{if(M==N[O]){return
 
true;}}while(O--);}},_isSplitButtonOptionKey:function(M){return(M.ctrlKey&&M.shiftKey&&L.getCharCode(M)==77);},_addListenersToForm:function(){var
 
S=this.getForm(),R=YAHOO.widget.Button.onFormKeyPress,Q,M,P,O,N;if(S){L.on(S,"reset",this._onFormReset,null,this);L.on(S,"submit",this.createHiddenFields,null,this);M=this.get("srcelement");if(this.get("type")=="submit"||(M&&M.type=="submit")){P=L.getListeners(S,"keypress");Q=false;if(P){O=P.length;if(O>0){N=O-1;do{if(P[N].fn==R){Q=true;break;}}while(N--);}}i
 
f(!Q){L.on(S,"keypress",R);}}}},_originalMaxHeight:-1,_showMenu:function(O){YAHOO.widget.MenuManager.hideVisible();if(K){K.hideAll();}var
 M=this._menu,N=G.getViewportHeight(),Q,R,P;if(M&&(M instanceof 
J)){M.cfg.applyConfig({context:[this.get("id"),"tl","bl"],constraintoviewport:false,clicktohide:false,visible:true});M.cfg.fireQueue();M.align("tl","bl");if(O.type=="mousedown"){L.stopPropagation(O);}if(this.get("focusmenu")){this._menu.focus();}Q=M.element.offsetHeight;if((M.cfg.getProperty("y")+Q)>N){M.align("bl","tl");P=M.cfg.getProperty("y");R=G.getDocumentScrollTop();if(R>=P){if(this._originalMaxHeight==-1){this._originalMaxHeight=M.cfg.getProperty("maxheight");}M.cfg.setProperty("maxheight",(Q-((R-P)+20)));M.align("bl","tl");}}}else{if(M&&(M
 instanceof 
B)){M.show();M.align("tl","bl");Q=M.element.offsetHeight;if((M.cfg.getProperty("y")+Q)>N){M.align("bl","tl");}}}},_hideMenu:function(){var
 
M=this._menu;if(M){M.hide();}},_onMouseOver:function(M){if(!this._hasMouseEventHandlers){thi
 
s.on("mouseout",this._onMouseOut);this.on("mousedown",this._onMouseDown);this.on("mouseup",this._onMouseUp);this._hasMouseEventHandlers=true;}this.addStateCSSClasses("hover");if(this._activationButtonPressed){this.addStateCSSClasses("active");}if(this._bOptionPressed){this.addStateCSSClasses("activeoption");}},_onMouseOut:function(M){this.removeStateCSSClasses("hover");if(this.get("type")!="menu"){this.removeStateCSSClasses("active");}if(this._activationButtonPressed||this._bOptionPressed){L.on(document,"mouseup",this._onDocumentMouseUp,null,this);}},_onDocumentMouseUp:function(M){this._activationButtonPressed=false;this._bOptionPressed=false;var
 
N=this.get("type");if(N=="menu"||N=="split"){this.removeStateCSSClasses((N=="menu"?"active":"activeoption"));this._hideMenu();}L.removeListener(document,"mouseup",this._onDocumentMouseUp);},_onMouseDown:function(P){var
 R,N,Q,O;function 
M(){this._hideMenu();this.removeListener("mouseup",M);}if((P.which||P.button)==1){if(!this.hasFocus()){thi
 
s.focus();}R=this.get("type");if(R=="split"){N=this.get("element");Q=L.getPageX(P)-G.getX(N);if((N.offsetWidth-this.OPTION_AREA_WIDTH)<Q){this.fireEvent("option",P);}else{this.addStateCSSClasses("active");this._activationButtonPressed=true;}}else{if(R=="menu"){if(this.isActive()){this._hideMenu();this._activationButtonPressed=false;}else{this._showMenu(P);this._activationButtonPressed=true;}}else{this.addStateCSSClasses("active");this._activationButtonPressed=true;}}if(R=="split"||R=="menu"){O=this;this._hideMenuTimerId=window.setTimeout(function(){O.on("mouseup",M);},250);}}},_onMouseUp:function(M){var
 
N=this.get("type");if(this._hideMenuTimerId){window.clearTimeout(this._hideMenuTimerId);}if(N=="checkbox"||N=="radio"){this.set("checked",!(this.get("checked")));}this._activationButtonPressed=false;if(this.get("type")!="menu"){this.removeStateCSSClasses("active");}},_onFocus:function(N){var
 
M;this.addStateCSSClasses("focus");if(this._activationKeyPressed){this.addStateCSSClasses("ac
 
tive");}C=this;if(!this._hasKeyEventHandlers){M=this._button;L.on(M,"blur",this._onBlur,null,this);L.on(M,"keydown",this._onKeyDown,null,this);L.on(M,"keyup",this._onKeyUp,null,this);this._hasKeyEventHandlers=true;}this.fireEvent("focus",N);},_onBlur:function(M){this.removeStateCSSClasses("focus");if(this.get("type")!="menu"){this.removeStateCSSClasses("active");}if(this._activationKeyPressed){L.on(document,"keyup",this._onDocumentKeyUp,null,this);}C=null;this.fireEvent("blur",M);},_onDocumentKeyUp:function(M){if(this._isActivationKey(L.getCharCode(M))){this._activationKeyPressed=false;L.removeListener(document,"keyup",this._onDocumentKeyUp);}},_onKeyDown:function(N){var
 
M=this._menu;if(this.get("type")=="split"&&this._isSplitButtonOptionKey(N)){this.fireEvent("option",N);}else{if(this._isActivationKey(L.getCharCode(N))){if(this.get("type")=="menu"){this._showMenu(N);}else{this._activationKeyPressed=true;this.addStateCSSClasses("active");}}}if(M&&M.cfg.getProperty("visible")&&L.getC
 harCode(N)==27){M.hide();
 this.focus();}},_onKeyUp:function(M){var 
N;if(this._isActivationKey(L.getCharCode(M))){N=this.get("type");if(N=="checkbox"||N=="radio"){this.set("checked",!(this.get("checked")));}this._activationKeyPressed=false;if(this.get("type")!="menu"){this.removeStateCSSClasses("active");}}},_onClick:function(P){var
 
S=this.get("type"),M,Q,N,O,R;switch(S){case"radio":case"checkbox":if(this.get("checked")){M=(S=="radio")?this.RADIO_CHECKED_TITLE:this.CHECKBOX_CHECKED_TITLE;}else{M=(S=="radio")?this.RADIO_DEFAULT_TITLE:this.CHECKBOX_DEFAULT_TITLE;}this.set("title",M);break;case"submit":this.submitForm();break;case"reset":Q=this.getForm();if(Q){Q.reset();}break;case"menu":M=this._menu.cfg.getProperty("visible")?this.MENUBUTTON_MENU_VISIBLE_TITLE:this.MENUBUTTON_DEFAULT_TITLE;this.set("title",M);break;case"split":O=this.get("element");R=L.getPageX(P)-G.getX(O);if((O.offsetWidth-this.OPTION_AREA_WIDTH)<R){return
 
false;}else{this._hideMenu();N=this.get("srcelement");if(N&&N.type=="submit"){this.subm
 
itForm();}}M=this._menu.cfg.getProperty("visible")?this.SPLITBUTTON_OPTION_VISIBLE_TITLE:this.SPLITBUTTON_DEFAULT_TITLE;this.set("title",M);break;}},_onAppendTo:function(N){var
 
M=this;window.setTimeout(function(){M._addListenersToForm();},0);},_onFormReset:function(N){var
 
O=this.get("type"),M=this._menu;if(O=="checkbox"||O=="radio"){this.resetValue("checked");}if(M&&(M
 instanceof 
J)){this.resetValue("selectedMenuItem");}},_onDocumentMouseDown:function(P){var 
M=L.getTarget(P),O=this.get("element"),N=this._menu.element;if(M!=O&&!G.isAncestor(O,M)&&M!=N&&!G.isAncestor(N,M)){this._hideMenu();L.removeListener(document,"mousedown",this._onDocumentMouseDown);}},_onOption:function(M){if(this.hasClass("yui-split-button-activeoption")){this._hideMenu();this._bOptionPressed=false;}else{this._showMenu(M);this._bOptionPressed=true;}},_onOverlayBeforeShow:function(N){var
 
M=this._menu;M.render(this.get("element").parentNode);M.beforeShowEvent.unsubscribe(this._onOverlayBeforeShow);},_onMenuShow:fu
 nction(N){L.on(document,"mousedown",this._onDocumentMouseDown,null,this);var 
M,O;if(this.get("type")=="split"){M=this.SPLITBUTTON_OPTION_VISIBLE_TITLE;O="activeoption";}else{M=this.MENUBUTTON_MENU_VISIBLE_TITLE;O="active";}this.addStateCSSClasses(O);this.set("title",M);},_onMenuHide:function(O){var
 N=this._menu,M,P;if(N&&(N instanceof 
J)&&this._originalMaxHeight!=-1){this._menu.cfg.setProperty("maxheight",this._originalMaxHeight);}if(this.get("type")=="split"){M=this.SPLITBUTTON_DEFAULT_TITLE;P="activeoption";}else{M=this.MENUBUTTON_DEFAULT_TITLE;P="active";}this.removeStateCSSClasses(P);this.set("title",M);if(this.get("type")=="split"){this._bOptionPressed=false;}},_onMenuKeyDown:function(O,N){var
 
M=N[0];if(L.getCharCode(M)==27){this.focus();if(this.get("type")=="split"){this._bOptionPressed=false;}}},_onMenuRender:function(N){var
 
P=this.get("element"),M=P.parentNode,O=this._menu.element;if(M!=O.parentNode){M.appendChild(O);}this.set("selectedMenuItem",this.get("selectedMenuItem"))
 ;},_onMenuItemSelected:function(N,M,P){var 
O=M[0];if(O){this.set("selectedMenuItem",P);}},_onMenuItemAdded:function(O,N,M){var
 
P=N[0];P.cfg.subscribeToConfigEvent("selected",this._onMenuItemSelected,P.index,this);},_onMenuClick:function(N,M){var
 
P=M[1],O;if(P){O=this.get("srcelement");if(O&&O.type=="submit"){this.submitForm();}this._hideMenu();}},createButtonElement:function(M){var
 O=this.NODE_NAME,N=document.createElement(O);N.innerHTML="<"+O+" 
class=\"first-child\">"+(M=="link"?"<a></a>":"<button 
type=\"button\"></button>")+"</"+O+">";return 
N;},addStateCSSClasses:function(M){var 
N=this.get("type");if(I.isString(M)){if(M!="activeoption"){this.addClass(this.CSS_CLASS_NAME+("-"+M));}this.addClass("yui-"+N+("-button-"+M));}},removeStateCSSClasses:function(M){var
 
N=this.get("type");if(I.isString(M)){this.removeClass(this.CSS_CLASS_NAME+("-"+M));this.removeClass("yui-"+N+("-button-"+M));}},createHiddenFields:function(){this.removeHiddenFields();var
 R=this.getForm(),U,N,P,S,T,O,Q,M;if(R
 
&&!this.get("disabled")){N=this.get("type");P=(N=="checkbox"||N=="radio");if(P||(E==this)){U=F((P?N:"hidden"),this.get("name"),this.get("value"),this.get("checked"));if(U){if(P){U.style.display="none";}R.appendChild(U);}}S=this._menu;if(S&&(S
 instanceof 
J)){M=S.srcElement;T=S.getItem(this.get("selectedMenuItem"));if(T){if(M&&M.nodeName.toUpperCase()=="SELECT"){R.appendChild(M);M.selectedIndex=T.index;}else{Q=(T.value===null||T.value==="")?T.cfg.getProperty("text"):T.value;O=this.get("name");if(Q&&O){M=F("hidden",(O+"_options"),Q);R.appendChild(M);}}}}if(U&&M){this._hiddenFields=[U,M];}else{if(!U&&M){this._hiddenFields=M;}else{if(U&&!M){this._hiddenFields=U;}}}return
 this._hiddenFields;}},removeHiddenFields:function(){var 
P=this._hiddenFields,N,O;function 
M(Q){if(G.inDocument(Q)){Q.parentNode.removeChild(Q);}}if(P){if(I.isArray(P)){N=P.length;if(N>0){O=N-1;do{M(P[O]);}while(O--);}}else{M(P);}this._hiddenFields=null;}},submitForm:function(){var
 P=this.getForm(),O=this.get("srcelement"
 
),N=false,M;if(P){if(this.get("type")=="submit"||(O&&O.type=="submit")){E=this;}if(YAHOO.env.ua.ie){N=P.fireEvent("onsubmit");}else{M=document.createEvent("HTMLEvents");M.initEvent("submit",true,true);N=P.dispatchEvent(M);}if((YAHOO.env.ua.ie||YAHOO.env.ua.webkit)&&N){P.submit();}}return
 N;},init:function(M,T){var 
O=T.type=="link"?"a":"button",Q=T.srcelement,S=M.getElementsByTagName(O)[0],R;if(!S){R=M.getElementsByTagName("input")[0];if(R){S=document.createElement("button");S.setAttribute("type","button");R.parentNode.replaceChild(S,R);}}this._button=S;YAHOO.widget.Button.superclass.init.call(this,M,T);D[this.get("id")]=this;this.addClass(this.CSS_CLASS_NAME);this.addClass("yui-"+this.get("type")+"-button");L.on(this._button,"focus",this._onFocus,null,this);this.on("mouseover",this._onMouseOver);this.on("click",this._onClick);this.on("appendTo",this._onAppendTo);var
 
V=this.get("container"),N=this.get("element"),U=G.inDocument(N),P;if(V){if(Q&&Q!=N){P=Q.parentNode;if(P){P.removeChild
 (Q);}}if(I.isString(V)){L.onContentReady(V,function(){this.appendTo(V);

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta.js
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta.js
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta.js
index 907f0d0..46fac4b 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta.js
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/button/button-beta.js
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2007, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.3.1
-*/
+ * 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.
+ */
 /**
 * @module button
 * @description <p>The Button Control enables the creation of rich, graphical 

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar-core.css
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar-core.css
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar-core.css
index 2fb51e4..5e3c15d 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar-core.css
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar-core.css
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 /**
  * CORE
  *

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar.css
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar.css
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar.css
index f01446f..f777fd5 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar.css
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/calendar.css
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 .yui-calcontainer {
        position:relative;
        padding:5px;

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar-skin.css
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar-skin.css
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar-skin.css
index d498919..b81d698 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar-skin.css
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar-skin.css
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 /**
  * SAM
  *

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar.css
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar.css
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar.css
index 8da25a4..3a4dbf1 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar.css
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/assets/skins/sam/calendar.css
@@ -1,7 +1,19 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 
.yui-calcontainer{position:relative;float:left;_overflow:hidden;}.yui-calcontainer
 
iframe{position:absolute;border:none;margin:0;padding:0;z-index:0;width:100%;height:100%;left:0px;top:0px;}.yui-calcontainer
 
iframe.fixedsize{width:50em;height:50em;top:-1px;left:-1px;}.yui-calcontainer.multi
 .groupcal{z-index:1;float:left;position:relative;}.yui-calcontainer 
.title{position:relative;z-index:1;}.yui-calcontainer 
.close-icon{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar{position:relative;}.yui-calendar
 
.calnavleft{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar
 
.calnavright{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}.yui-calendar
 .calheader{position:relative;width:100%;text-align:center;}.yui-calcontainer 
.yui-cal-nav-mask{position:absolute;z-index:2;margin:0;padding:0;width:100%;height:100%;_width:0;_height:0;left:0;top:0;display:none;}.yui-calcontainer
 .yui-cal-nav{position:absolute;z-index:3;top
 :0;display:none;}.yui-calcontainer .yui-cal-nav 
.yui-cal-nav-btn{display:-moz-inline-box;display:inline-block;}.yui-calcontainer
 .yui-cal-nav .yui-cal-nav-btn 
button{display:block;*display:inline-block;*overflow:visible;border:none;background-color:transparent;cursor:pointer;}.yui-calendar
 .calbody 
a:hover{background:inherit;}p#clear{clear:left;padding-top:10px;}.yui-skin-sam 
.yui-calcontainer{background-color:#f2f2f2;border:1px solid 
#808080;padding:10px;}.yui-skin-sam .yui-calcontainer.multi{padding:0 5px 0 
5px;}.yui-skin-sam .yui-calcontainer.multi 
.groupcal{background-color:transparent;border:none;padding:10px 5px 10px 
5px;margin:0;}.yui-skin-sam .yui-calcontainer 
.title{background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 
0;border-bottom:1px solid #cccccc;font:100% 
sans-serif;color:#000;font-weight:bold;height:auto;padding:.4em;margin:0 -10px 
10px -10px;top:0;left:0;text-align:left;}.yui-skin-sam .yui-calcontainer.multi 
.title{margin:0 -5px 0 -5px;}.yui-skin-sam .
 yui-calcontainer.withtitle{padding-top:0;}.yui-skin-sam .yui-calcontainer 
.calclose{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 
-300px;width:25px;height:15px;top:.4em;right:.4em;cursor:pointer;}.yui-skin-sam 
.yui-calendar{border-spacing:0;border-collapse:collapse;font:100% 
sans-serif;text-align:center;margin:0;}.yui-skin-sam .yui-calendar 
.calhead{background:transparent;border:none;vertical-align:middle;padding:0;}.yui-skin-sam
 .yui-calendar .calheader{background:transparent;font-weight:bold;padding:0 0 
.6em 0;text-align:center;}.yui-skin-sam .yui-calendar .calheader 
img{border:none;}.yui-skin-sam .yui-calendar 
.calnavleft{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 0 
-450px;width:25px;height:15px;top:0;bottom:0;left:-10px;margin-left:.4em;cursor:pointer;}.yui-skin-sam
 .yui-calendar 
.calnavright{background:url(../../../../assets/skins/sam/sprite.png) no-repeat 
0 -500px;width:25px;height:15px;top:0;bottom:0;right:-10px;margin-right:.4em;c
 ursor:pointer;}.yui-skin-sam .yui-calendar 
.calweekdayrow{height:2em;}.yui-skin-sam .yui-calendar .calweekdayrow 
th{padding:0;border:none;}.yui-skin-sam .yui-calendar 
.calweekdaycell{color:#000;font-weight:bold;text-align:center;width:2em;}.yui-skin-sam
 .yui-calendar .calfoot{background-color:#f2f2f2;}.yui-skin-sam .yui-calendar 
.calrowhead,.yui-skin-sam .yui-calendar 
.calrowfoot{color:#a6a6a6;font-size:85%;font-style:normal;font-weight:normal;border:none;}.yui-skin-sam
 .yui-calendar .calrowhead{text-align:right;padding:0 2px 0 0;}.yui-skin-sam 
.yui-calendar .calrowfoot{text-align:left;padding:0 0 0 2px;}.yui-skin-sam 
.yui-calendar td.calcell{border:1px solid 
#cccccc;background:#fff;padding:1px;height:1.6em;line-height:1.6em;text-align:center;white-space:nowrap;}.yui-skin-sam
 .yui-calendar td.calcell 
a{color:#0066cc;display:block;height:100%;text-decoration:none;}.yui-skin-sam 
.yui-calendar td.calcell.today{background-color:#000;}.yui-skin-sam 
.yui-calendar td.calcell.today a{backgr
 ound-color:#fff;}.yui-skin-sam .yui-calendar 
td.calcell.oom{background-color:#cccccc;color:#a6a6a6;cursor:default;}.yui-skin-sam
 .yui-calendar 
td.calcell.selected{background-color:#fff;color:#000;}.yui-skin-sam 
.yui-calendar td.calcell.selected 
a{background-color:#b3d4ff;color:#000;}.yui-skin-sam .yui-calendar 
td.calcell.calcellhover{background-color:#426fd9;color:#fff;cursor:pointer;}.yui-skin-sam
 .yui-calendar td.calcell.calcellhover 
a{background-color:#426fd9;color:#fff;}.yui-skin-sam .yui-calendar 
td.calcell.previous{color:#e0e0e0;}.yui-skin-sam .yui-calendar 
td.calcell.restricted{text-decoration:line-through;}.yui-skin-sam .yui-calendar 
td.calcell.highlight1{background-color:#ccff99;}.yui-skin-sam .yui-calendar 
td.calcell.highlight2{background-color:#99ccff;}.yui-skin-sam .yui-calendar 
td.calcell.highlight3{background-color:#ffcccc;}.yui-skin-sam .yui-calendar 
td.calcell.highlight4{background-color:#ccff99;}.yui-skin-sam .yui-calendar 
a.calnav{border:1px solid #f2f2f2;padding:0
  4px;text-decoration:none;color:#000;zoom:1;}.yui-skin-sam .yui-calendar 
a.calnav:hover{background:url(../../../../assets/skins/sam/sprite.png) repeat-x 
0 0;border-color:#A0A0A0;cursor:pointer;}.yui-skin-sam .yui-calcontainer 
.yui-cal-nav-mask{background-color:#000;opacity:0.25;*filter:alpha(opacity=25);}.yui-skin-sam
 .yui-calcontainer 
.yui-cal-nav{font-family:arial,helvetica,clean,sans-serif;font-size:93%;border:1px
 solid 
#808080;left:50%;margin-left:-7em;width:14em;padding:0;top:2.5em;background-color:#f2f2f2;}.yui-skin-sam
 .yui-calcontainer.withtitle .yui-cal-nav{top:4.5em;}.yui-skin-sam 
.yui-calcontainer.multi .yui-cal-nav{width:16em;margin-left:-8em;}.yui-skin-sam 
.yui-calcontainer .yui-cal-nav-y,.yui-skin-sam .yui-calcontainer 
.yui-cal-nav-m,.yui-skin-sam .yui-calcontainer .yui-cal-nav-b{padding:5px 10px 
5px 10px;}.yui-skin-sam .yui-calcontainer 
.yui-cal-nav-b{text-align:center;}.yui-skin-sam .yui-calcontainer 
.yui-cal-nav-e{margin-top:5px;padding:5px;background-color:#EDF5FF;
 border-top:1px solid black;display:none;}.yui-skin-sam .yui-calcontainer 
.yui-cal-nav label{display:block;font-weight:bold;}.yui-skin-sam 
.yui-calcontainer .yui-cal-nav-mc{width:100%;_width:auto;}.yui-skin-sam 
.yui-calcontainer .yui-cal-nav-y 
input.yui-invalid{background-color:#FFEE69;border:1px solid #000;}.yui-skin-sam 
.yui-calcontainer .yui-cal-nav-yc{width:4em;}.yui-skin-sam .yui-calcontainer 
.yui-cal-nav .yui-cal-nav-btn{border:1px solid 
#808080;background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 
0;background-color:#ccc;margin:auto .15em;}.yui-skin-sam .yui-calcontainer 
.yui-cal-nav .yui-cal-nav-btn button{padding:0 
8px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}.yui-skin-sam
 .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default{border:1px solid 
#304369;background-color:#426fd9;background:url(../../../../assets/skins/sam/sprite.png)
 repeat-x 0 -1400px;}.yui-skin-sam .yui-calcontainer .yui-cal-nav 
.yui-cal-nav-bt
 n.yui-default button{color:#fff;}

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-debug.js
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-debug.js
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-debug.js
index 689843c..99dac35 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-debug.js
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-debug.js
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 (function () {
 
     /**

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-min.js
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-min.js
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-min.js
index 005c7de..3034e04 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-min.js
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar-min.js
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 (function(){YAHOO.util.Config=function(D){if(D){this.init(D);}};var 
B=YAHOO.lang,C=YAHOO.util.CustomEvent,A=YAHOO.util.Config;A.CONFIG_CHANGED_EVENT="configChanged";A.BOOLEAN_TYPE="boolean";A.prototype={owner:null,queueInProgress:false,config:null,initialConfig:null,eventQueue:null,configChangedEvent:null,init:function(D){this.owner=D;this.configChangedEvent=this.createEvent(A.CONFIG_CHANGED_EVENT);this.configChangedEvent.signature=C.LIST;this.queueInProgress=false;this.config={};this.initialConfig={};this.eventQueue=[];},checkBoolean:function(D){return(typeof
 
D==A.BOOLEAN_TYPE);},checkNumber:function(D){return(!isNaN(D));},fireEvent:function(D,F){var
 
E=this.config[D];if(E&&E.event){E.event.fire(F);}},addProperty:function(E,D){E=E.toLowerCase();this.config[E]=D;D.event=this.createEvent(E,{scope:this.owner});D.event.signature=C.LIST;D.key=E;if(D.handler){D.event.subscribe(D.handler,this.owner);}this.setProperty(E,D.value,true);if(!D.suppressEvent){this.queueProperty(E,D.value);}},get
 Config:function(){var D={},F=this.config,G,E;for(G in 
F){if(B.hasOwnProperty(F,G)){E=F[G];if(E&&E.event){D[G]=E.value;}}}return 
D;},getProperty:function(D){var 
E=this.config[D.toLowerCase()];if(E&&E.event){return E.value;}else{return 
undefined;}},resetProperty:function(D){D=D.toLowerCase();var 
E=this.config[D];if(E&&E.event){if(this.initialConfig[D]&&!B.isUndefined(this.initialConfig[D])){this.setProperty(D,this.initialConfig[D]);return
 true;}}else{return false;}},setProperty:function(E,G,D){var 
F;E=E.toLowerCase();if(this.queueInProgress&&!D){this.queueProperty(E,G);return 
true;}else{F=this.config[E];if(F&&F.event){if(F.validator&&!F.validator(G)){return
 
false;}else{F.value=G;if(!D){this.fireEvent(E,G);this.configChangedEvent.fire([E,G]);}return
 true;}}else{return false;}}},queueProperty:function(S,P){S=S.toLowerCase();var 
R=this.config[S],K=false,J,G,H,I,O,Q,F,M,N,D,L,T,E;if(R&&R.event){if(!B.isUndefined(P)&&R.validator&&!R.validator(P)){return
 false;}else{if(!B.isUndefined(P)){R.
 
value=P;}else{P=R.value;}K=false;J=this.eventQueue.length;for(L=0;L<J;L++){G=this.eventQueue[L];if(G){H=G[0];I=G[1];if(H==S){this.eventQueue[L]=null;this.eventQueue.push([S,(!B.isUndefined(P)?P:I)]);K=true;break;}}}if(!K&&!B.isUndefined(P)){this.eventQueue.push([S,P]);}}if(R.supercedes){O=R.supercedes.length;for(T=0;T<O;T++){Q=R.supercedes[T];F=this.eventQueue.length;for(E=0;E<F;E++){M=this.eventQueue[E];if(M){N=M[0];D=M[1];if(N==Q.toLowerCase()){this.eventQueue.push([N,D]);this.eventQueue[E]=null;break;}}}}}return
 true;}else{return false;}},refireEvent:function(D){D=D.toLowerCase();var 
E=this.config[D];if(E&&E.event&&!B.isUndefined(E.value)){if(this.queueInProgress){this.queueProperty(D);}else{this.fireEvent(D,E.value);}}},applyConfig:function(D,G){var
 F,E;if(G){E={};for(F in 
D){if(B.hasOwnProperty(D,F)){E[F.toLowerCase()]=D[F];}}this.initialConfig=E;}for(F
 in 
D){if(B.hasOwnProperty(D,F)){this.queueProperty(F,D[F]);}}},refresh:function(){var
 D;for(D in this.config){if(B.hasOwnPrope
 rty(this.config,D)){this.refireEvent(D);}}},fireQueue:function(){var 
E,H,D,G,F;this.queueInProgress=true;for(E=0;E<this.eventQueue.length;E++){H=this.eventQueue[E];if(H){D=H[0];G=H[1];F=this.config[D];F.value=G;this.fireEvent(D,G);}}this.queueInProgress=false;this.eventQueue=[];},subscribeToConfigEvent:function(E,F,H,D){var
 
G=this.config[E.toLowerCase()];if(G&&G.event){if(!A.alreadySubscribed(G.event,F,H)){G.event.subscribe(F,H,D);}return
 true;}else{return false;}},unsubscribeFromConfigEvent:function(D,E,G){var 
F=this.config[D.toLowerCase()];if(F&&F.event){return 
F.event.unsubscribe(E,G);}else{return false;}},toString:function(){var 
D="Config";if(this.owner){D+=" ["+this.owner.toString()+"]";}return 
D;},outputEventQueue:function(){var 
D="",G,E,F=this.eventQueue.length;for(E=0;E<F;E++){G=this.eventQueue[E];if(G){D+=G[0]+"="+G[1]+",
 ";}}return D;},destroy:function(){var E=this.config,D,F;for(D in 
E){if(B.hasOwnProperty(E,D)){F=E[D];F.event.unsubscribeAll();F.event=null;}}this.configCh
 
angedEvent.unsubscribeAll();this.configChangedEvent=null;this.owner=null;this.config=null;this.initialConfig=null;this.eventQueue=null;}};A.alreadySubscribed=function(E,H,I){var
 
F=E.subscribers.length,D,G;if(F>0){G=F-1;do{D=E.subscribers[G];if(D&&D.obj==I&&D.fn==H){return
 true;}}while(G--);}return 
false;};YAHOO.lang.augmentProto(A,YAHOO.util.EventProvider);}());YAHOO.widget.DateMath={DAY:"D",WEEK:"W",YEAR:"Y",MONTH:"M",ONE_DAY_MS:1000*60*60*24,WEEK_ONE_JAN_DATE:1,add:function(A,D,C){var
 F=new Date(A.getTime());switch(D){case this.MONTH:var E=A.getMonth()+C;var 
B=0;if(E<0){while(E<0){E+=12;B-=1;}}else{if(E>11){while(E>11){E-=12;B+=1;}}}F.setMonth(E);F.setFullYear(A.getFullYear()+B);break;case
 this.DAY:this._addDays(F,C);break;case 
this.YEAR:F.setFullYear(A.getFullYear()+C);break;case 
this.WEEK:this._addDays(F,(C*7));break;}return 
F;},_addDays:function(D,C){if(YAHOO.env.ua.webkit&&YAHOO.env.ua.webkit<420){if(C<0){for(var
 B=-128;C<B;C-=B){D.setDate(D.getDate()+B);}}else{for(var A=96;C>
 
A;C-=A){D.setDate(D.getDate()+A);}}}D.setDate(D.getDate()+C);},subtract:function(A,C,B){return
 this.add(A,C,(B*-1));},before:function(C,B){var 
A=B.getTime();if(C.getTime()<A){return true;}else{return 
false;}},after:function(C,B){var A=B.getTime();if(C.getTime()>A){return 
true;}else{return 
false;}},between:function(B,A,C){if(this.after(B,A)&&this.before(B,C)){return 
true;}else{return false;}},getJan1:function(A){return 
this.getDate(A,0,1);},getDayOffset:function(B,D){var C=this.getJan1(D);var 
A=Math.ceil((B.getTime()-C.getTime())/this.ONE_DAY_MS);return 
A;},getWeekNumber:function(E,B,H){B=B||0;H=H||this.WEEK_ONE_JAN_DATE;var 
I=this.clearTime(E),M,N;if(I.getDay()===B){M=I;}else{M=this.getFirstDayOfWeek(I,B);}var
 J=M.getFullYear(),C=M.getTime();N=new Date(M.getTime()+6*this.ONE_DAY_MS);var 
G;if(J!==N.getFullYear()&&N.getDate()>=H){G=1;}else{var 
F=this.clearTime(this.getDate(J,0,H)),A=this.getFirstDayOfWeek(F,B);var 
K=Math.round((I.getTime()-A.getTime())/this.ONE_DAY_MS);var L=K%7;var D
 =(K-L)/7;G=D+1;}return G;
 },getFirstDayOfWeek:function(D,A){A=A||0;var B=D.getDay(),C=(B-A+7)%7;return 
this.subtract(D,this.DAY,C);},isYearOverlapWeek:function(A){var C=false;var 
B=this.add(A,this.DAY,6);if(B.getFullYear()!=A.getFullYear()){C=true;}return 
C;},isMonthOverlapWeek:function(A){var C=false;var 
B=this.add(A,this.DAY,6);if(B.getMonth()!=A.getMonth()){C=true;}return 
C;},findMonthStart:function(A){var 
B=this.getDate(A.getFullYear(),A.getMonth(),1);return 
B;},findMonthEnd:function(B){var D=this.findMonthStart(B);var 
C=this.add(D,this.MONTH,1);var A=this.subtract(C,this.DAY,1);return 
A;},clearTime:function(A){A.setHours(12,0,0,0);return 
A;},getDate:function(D,A,C){var 
B=null;if(YAHOO.lang.isUndefined(C)){C=1;}if(D>=100){B=new 
Date(D,A,C);}else{B=new 
Date();B.setFullYear(D);B.setMonth(A);B.setDate(C);B.setHours(0,0,0,0);}return 
B;}};(function(){var 
C=YAHOO.util.Dom,A=YAHOO.util.Event,E=YAHOO.lang,D=YAHOO.widget.DateMath;function
 F(I,G,H){this.init.apply(this,arguments);}F.IMG_ROOT=null;F.DATE="D";F.MONT
 
H_DAY="MD";F.WEEKDAY="WD";F.RANGE="R";F.MONTH="M";F.DISPLAY_DAYS=42;F.STOP_RENDER="S";F.SHORT="short";F.LONG="long";F.MEDIUM="medium";F.ONE_CHAR="1char";F._DEFAULT_CONFIG={PAGEDATE:{key:"pagedate",value:null},SELECTED:{key:"selected",value:null},TITLE:{key:"title",value:""},CLOSE:{key:"close",value:false},IFRAME:{key:"iframe",value:(YAHOO.env.ua.ie&&YAHOO.env.ua.ie<=6)?true:false},MINDATE:{key:"mindate",value:null},MAXDATE:{key:"maxdate",value:null},MULTI_SELECT:{key:"multi_select",value:false},START_WEEKDAY:{key:"start_weekday",value:0},SHOW_WEEKDAYS:{key:"show_weekdays",value:true},SHOW_WEEK_HEADER:{key:"show_week_header",value:false},SHOW_WEEK_FOOTER:{key:"show_week_footer",value:false},HIDE_BLANK_WEEKS:{key:"hide_blank_weeks",value:false},NAV_ARROW_LEFT:{key:"nav_arrow_left",value:null},NAV_ARROW_RIGHT:{key:"nav_arrow_right",value:null},MONTHS_SHORT:{key:"months_short",value:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},MONTHS_LONG:{key:"months_long"
 
,value:["January","February","March","April","May","June","July","August","September","October","November","December"]},WEEKDAYS_1CHAR:{key:"weekdays_1char",value:["S","M","T","W","T","F","S"]},WEEKDAYS_SHORT:{key:"weekdays_short",value:["Su","Mo","Tu","We","Th","Fr","Sa"]},WEEKDAYS_MEDIUM:{key:"weekdays_medium",value:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},WEEKDAYS_LONG:{key:"weekdays_long",value:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},LOCALE_MONTHS:{key:"locale_months",value:"long"},LOCALE_WEEKDAYS:{key:"locale_weekdays",value:"short"},DATE_DELIMITER:{key:"date_delimiter",value:","},DATE_FIELD_DELIMITER:{key:"date_field_delimiter",value:"/"},DATE_RANGE_DELIMITER:{key:"date_range_delimiter",value:"-"},MY_MONTH_POSITION:{key:"my_month_position",value:1},MY_YEAR_POSITION:{key:"my_year_position",value:2},MD_MONTH_POSITION:{key:"md_month_position",value:1},MD_DAY_POSITION:{key:"md_day_position",value:2},MDY_MONTH_POSITION:{key:"mdy_month_position"
 
,value:1},MDY_DAY_POSITION:{key:"mdy_day_position",value:2},MDY_YEAR_POSITION:{key:"mdy_year_position",value:3},MY_LABEL_MONTH_POSITION:{key:"my_label_month_position",value:1},MY_LABEL_YEAR_POSITION:{key:"my_label_year_position",value:2},MY_LABEL_MONTH_SUFFIX:{key:"my_label_month_suffix",value:"
 
"},MY_LABEL_YEAR_SUFFIX:{key:"my_label_year_suffix",value:""},NAV:{key:"navigator",value:null},STRINGS:{key:"strings",value:{previousMonth:"Previous
 Month",nextMonth:"Next 
Month",close:"Close"},supercedes:["close","title"]}};var 
B=F._DEFAULT_CONFIG;F._EVENT_TYPES={BEFORE_SELECT:"beforeSelect",SELECT:"select",BEFORE_DESELECT:"beforeDeselect",DESELECT:"deselect",CHANGE_PAGE:"changePage",BEFORE_RENDER:"beforeRender",RENDER:"render",BEFORE_DESTROY:"beforeDestroy",DESTROY:"destroy",RESET:"reset",CLEAR:"clear",BEFORE_HIDE:"beforeHide",HIDE:"hide",BEFORE_SHOW:"beforeShow",SHOW:"show",BEFORE_HIDE_NAV:"beforeHideNav",HIDE_NAV:"hideNav",BEFORE_SHOW_NAV:"beforeShowNav",SHOW_NAV:"showNav",BEFORE_RENDER_
 
NAV:"beforeRenderNav",RENDER_NAV:"renderNav"};F._STYLES={CSS_ROW_HEADER:"calrowhead",CSS_ROW_FOOTER:"calrowfoot",CSS_CELL:"calcell",CSS_CELL_SELECTOR:"selector",CSS_CELL_SELECTED:"selected",CSS_CELL_SELECTABLE:"selectable",CSS_CELL_RESTRICTED:"restricted",CSS_CELL_TODAY:"today",CSS_CELL_OOM:"oom",CSS_CELL_OOB:"previous",CSS_HEADER:"calheader",CSS_HEADER_TEXT:"calhead",CSS_BODY:"calbody",CSS_WEEKDAY_CELL:"calweekdaycell",CSS_WEEKDAY_ROW:"calweekdayrow",CSS_FOOTER:"calfoot",CSS_CALENDAR:"yui-calendar",CSS_SINGLE:"single",CSS_CONTAINER:"yui-calcontainer",CSS_NAV_LEFT:"calnavleft",CSS_NAV_RIGHT:"calnavright",CSS_NAV:"calnav",CSS_CLOSE:"calclose",CSS_CELL_TOP:"calcelltop",CSS_CELL_LEFT:"calcellleft",CSS_CELL_RIGHT:"calcellright",CSS_CELL_BOTTOM:"calcellbottom",CSS_CELL_HOVER:"calcellhover",CSS_CELL_HIGHLIGHT1:"highlight1",CSS_CELL_HIGHLIGHT2:"highlight2",CSS_CELL_HIGHLIGHT3:"highlight3",CSS_CELL_HIGHLIGHT4:"highlight4"};F.prototype={Config:null,parent:null,index:-1,cells:null,cellDates:n
 
ull,id:null,containerId:null,oDomContainer:null,today:null,renderStack:null,_renderStack:null,oNavigator:null,_selectedDates:null,domEventMap:null,_parseArgs:function(H){var
 
G={id:null,container:null,config:null};if(H&&H.length&&H.length>0){switch(H.length){case
 1:G.id=null;G.container=H[0];G.config=null;break;case 
2:if(E.isObject(H[1])&&!H[1].tagName&&!(H[1] instanceof 
String)){G.id=null;G.container=H[0];G.config=H[1];}else{G.id=H[0];G.container=H[1];G.config=null;}break;default:G.id=H[0];G.container=H[1];G.config=H[2];break;}}else{}return
 G;},init:function(J,H,I){var 
G=this._parseArgs(arguments);J=G.id;H=G.container;I=G.config;this.oDomContainer=C.get(H);if(!this.oDomContainer.id){this.oDomContainer.id=C.generateId();}if(!J){J=this.oDomContainer.id+"_t";}this.id=J;this.containerId=this.oDomContainer.id;this.initEvents();this.today=new
 Date();D.clearTime(this.today);this.cfg=new 
YAHOO.util.Config(this);this.Options={};this.Locale={};this.initStyles();C.addClass(this.oDomContainer,t
 his.Style.CSS_CONTAINER);
 
C.addClass(this.oDomContainer,this.Style.CSS_SINGLE);this.cellDates=[];this.cells=[];this.renderStack=[];this._renderStack=[];this.setupConfig();if(I){this.cfg.applyConfig(I,true);}this.cfg.fireQueue();},configIframe:function(I,H,J){var
 G=H[0];if(!this.parent){if(C.inDocument(this.oDomContainer)){if(G){var 
K=C.getStyle(this.oDomContainer,"position");if(K=="absolute"||K=="relative"){if(!C.inDocument(this.iframe)){this.iframe=document.createElement("iframe");this.iframe.src="javascript:false;";C.setStyle(this.iframe,"opacity","0");if(YAHOO.env.ua.ie&&YAHOO.env.ua.ie<=6){C.addClass(this.iframe,"fixedsize");}this.oDomContainer.insertBefore(this.iframe,this.oDomContainer.firstChild);}}}else{if(this.iframe){if(this.iframe.parentNode){this.iframe.parentNode.removeChild(this.iframe);}this.iframe=null;}}}}},configTitle:function(H,G,I){var
 K=G[0];if(K){this.createTitleBar(K);}else{var 
J=this.cfg.getProperty(B.CLOSE.key);if(!J){this.removeTitleBar();}else{this.createTitleBar("&#160;");}}},conf
 igClose:function(H,G,I){var 
K=G[0],J=this.cfg.getProperty(B.TITLE.key);if(K){if(!J){this.createTitleBar("&#160;");}this.createCloseButton();}else{this.removeCloseButton();if(!J){this.removeTitleBar();}}},initEvents:function(){var
 G=F._EVENT_TYPES,I=YAHOO.util.CustomEvent,H=this;H.beforeSelectEvent=new 
I(G.BEFORE_SELECT);H.selectEvent=new I(G.SELECT);H.beforeDeselectEvent=new 
I(G.BEFORE_DESELECT);H.deselectEvent=new I(G.DESELECT);H.changePageEvent=new 
I(G.CHANGE_PAGE);H.beforeRenderEvent=new I(G.BEFORE_RENDER);H.renderEvent=new 
I(G.RENDER);H.beforeDestroyEvent=new I(G.BEFORE_DESTROY);H.destroyEvent=new 
I(G.DESTROY);H.resetEvent=new I(G.RESET);H.clearEvent=new 
I(G.CLEAR);H.beforeShowEvent=new I(G.BEFORE_SHOW);H.showEvent=new 
I(G.SHOW);H.beforeHideEvent=new I(G.BEFORE_HIDE);H.hideEvent=new 
I(G.HIDE);H.beforeShowNavEvent=new I(G.BEFORE_SHOW_NAV);H.showNavEvent=new 
I(G.SHOW_NAV);H.beforeHideNavEvent=new I(G.BEFORE_HIDE_NAV);H.hideNavEvent=new 
I(G.HIDE_NAV);H.beforeRenderNavEvent=new I(G.
 BEFORE_RENDER_NAV);H.renderNavEvent=new 
I(G.RENDER_NAV);H.beforeSelectEvent.subscribe(H.onBeforeSelect,this,true);H.selectEvent.subscribe(H.onSelect,this,true);H.beforeDeselectEvent.subscribe(H.onBeforeDeselect,this,true);H.deselectEvent.subscribe(H.onDeselect,this,true);H.changePageEvent.subscribe(H.onChangePage,this,true);H.renderEvent.subscribe(H.onRender,this,true);H.resetEvent.subscribe(H.onReset,this,true);H.clearEvent.subscribe(H.onClear,this,true);},doPreviousMonthNav:function(H,G){A.preventDefault(H);setTimeout(function(){G.previousMonth();var
 
I=C.getElementsByClassName(G.Style.CSS_NAV_LEFT,"a",G.oDomContainer);if(I&&I[0]){try{I[0].focus();}catch(J){}}},0);},doNextMonthNav:function(H,G){A.preventDefault(H);setTimeout(function(){G.nextMonth();var
 
I=C.getElementsByClassName(G.Style.CSS_NAV_RIGHT,"a",G.oDomContainer);if(I&&I[0]){try{I[0].focus();}catch(J){}}},0);},doSelectCell:function(M,G){var
 R,O,I,L;var 
N=A.getTarget(M),H=N.tagName.toLowerCase(),K=false;while(H!="td"&&!C.ha
 
sClass(N,G.Style.CSS_CELL_SELECTABLE)){if(!K&&H=="a"&&C.hasClass(N,G.Style.CSS_CELL_SELECTOR)){K=true;}N=N.parentNode;H=N.tagName.toLowerCase();if(N==this.oDomContainer||H=="html"){return
 
;}}if(K){A.preventDefault(M);}R=N;if(C.hasClass(R,G.Style.CSS_CELL_SELECTABLE)){L=G.getIndexFromId(R.id);if(L>-1){O=G.cellDates[L];if(O){I=D.getDate(O[0],O[1]-1,O[2]);var
 
Q;if(G.Options.MULTI_SELECT){Q=R.getElementsByTagName("a")[0];if(Q){Q.blur();}var
 J=G.cellDates[L];var 
P=G._indexOfSelectedFieldArray(J);if(P>-1){G.deselectCell(L);}else{G.selectCell(L);}}else{Q=R.getElementsByTagName("a")[0];if(Q){Q.blur();}G.selectCell(L);}}}}},doCellMouseOver:function(I,H){var
 
G;if(I){G=A.getTarget(I);}else{G=this;}while(G.tagName&&G.tagName.toLowerCase()!="td"){G=G.parentNode;if(!G.tagName||G.tagName.toLowerCase()=="html"){return
 
;}}if(C.hasClass(G,H.Style.CSS_CELL_SELECTABLE)){C.addClass(G,H.Style.CSS_CELL_HOVER);}},doCellMouseOut:function(I,H){var
 G;if(I){G=A.getTarget(I);}else{G=this;}while(G.tagName&&G.tag
 
Name.toLowerCase()!="td"){G=G.parentNode;if(!G.tagName||G.tagName.toLowerCase()=="html"){return
 
;}}if(C.hasClass(G,H.Style.CSS_CELL_SELECTABLE)){C.removeClass(G,H.Style.CSS_CELL_HOVER);}},setupConfig:function(){var
 G=this.cfg;G.addProperty(B.PAGEDATE.key,{value:new 
Date(),handler:this.configPageDate});G.addProperty(B.SELECTED.key,{value:[],handler:this.configSelected});G.addProperty(B.TITLE.key,{value:B.TITLE.value,handler:this.configTitle});G.addProperty(B.CLOSE.key,{value:B.CLOSE.value,handler:this.configClose});G.addProperty(B.IFRAME.key,{value:B.IFRAME.value,handler:this.configIframe,validator:G.checkBoolean});G.addProperty(B.MINDATE.key,{value:B.MINDATE.value,handler:this.configMinDate});G.addProperty(B.MAXDATE.key,{value:B.MAXDATE.value,handler:this.configMaxDate});G.addProperty(B.MULTI_SELECT.key,{value:B.MULTI_SELECT.value,handler:this.configOptions,validator:G.checkBoolean});G.addProperty(B.START_WEEKDAY.key,{value:B.START_WEEKDAY.value,handler:this.configOptions,validator:
 
G.checkNumber});G.addProperty(B.SHOW_WEEKDAYS.key,{value:B.SHOW_WEEKDAYS.value,handler:this.configOptions,validator:G.checkBoolean});G.addProperty(B.SHOW_WEEK_HEADER.key,{value:B.SHOW_WEEK_HEADER.value,handler:this.configOptions,validator:G.checkBoolean});G.addProperty(B.SHOW_WEEK_FOOTER.key,{value:B.SHOW_WEEK_FOOTER.value,handler:this.configOptions,validator:G.checkBoolean});G.addProperty(B.HIDE_BLANK_WEEKS.key,{value:B.HIDE_BLANK_WEEKS.value,handler:this.configOptions,validator:G.checkBoolean});G.addProperty(B.NAV_ARROW_LEFT.key,{value:B.NAV_ARROW_LEFT.value,handler:this.configOptions});G.addProperty(B.NAV_ARROW_RIGHT.key,{value:B.NAV_ARROW_RIGHT.value,handler:this.configOptions});G.addProperty(B.MONTHS_SHORT.key,{value:B.MONTHS_SHORT.value,handler:this.configLocale});G.addProperty(B.MONTHS_LONG.key,{value:B.MONTHS_LONG.value,handler:this.configLocale});G.addProperty(B.WEEKDAYS_1CHAR.key,{value:B.WEEKDAYS_1CHAR.value,handler:this.configLocale});G.addProperty(B.WEEKDAYS_SHORT.key,{
 value:B.WEEKDAYS_SHORT.value,handler:this.configLocale});

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar.js
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar.js
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar.js
index 69ddc19..e794a61 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar.js
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/calendar/calendar.js
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 (function () {
 
     /**

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/colorpicker_core.css
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/colorpicker_core.css
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/colorpicker_core.css
index 7d188e4..4432570 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/colorpicker_core.css
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/colorpicker_core.css
@@ -1,6 +1,18 @@
 /*
-Copyright (c) 2007, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.3.1
-*/
+ * 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.
+ */

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker-skin.css
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker-skin.css
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker-skin.css
index c5b81e1..2698499 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker-skin.css
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker-skin.css
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 
 .yui-picker-panel {
     background: #e3e3e3;

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker.css
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker.css
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker.css
index 82c6cfd..c52e199 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker.css
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/assets/skins/sam/colorpicker.css
@@ -1,7 +1,19 @@
 /*
-Copyright (c) 2008, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.6.0
-*/
+ * 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.
+ */
 .yui-picker-panel{background:#e3e3e3;border-color:#888;}.yui-picker-panel 
.hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid 
#e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}.yui-picker-panel
 .bd{background:#e8e8e8;margin:1px;height:200px;}.yui-picker-panel 
.ft{background:#e8e8e8;margin:1px;padding:1px;}.yui-picker{position:relative;}.yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}.yui-picker-hue-bg{-moz-outline:none;outline:0px
 
none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png)
 no-repeat;top:4px;}.yui-picker-bg{-moz-outline:none;outline:0px 
none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html
 
.yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../../build/colorpicker/assets/picker_mask.png',sizingMethod='scale');}.yui-picker-
 
mask{position:absolute;z-index:1;top:0px;left:0px;}.yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}.yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px
 solid 
#888;}.yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px
 solid 
#888;}.yui-picker-controls{position:absolute;top:72px;left:226px;font:1em 
monospace;}.yui-picker-controls .hd{background:transparent;border-width:0px 
!important;}.yui-picker-controls .bd{height:100px;border-width:0px 
!important;}.yui-picker-controls ul{float:left;padding:0 2px 0 
0;margin:0}.yui-picker-controls 
li{padding:2px;list-style:none;margin:0}.yui-picker-controls 
input{font-size:0.85em;width:2.4em;}.yui-picker-hex-controls{clear:both;padding:2px;}.yui-picker-hex-controls
 input{width:4.6em;}.yui-picker-controls a{font:1em 
arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}

http://git-wip-us.apache.org/repos/asf/stratos/blob/8598f49e/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/colorpicker-beta-debug.js
----------------------------------------------------------------------
diff --git 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/colorpicker-beta-debug.js
 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/colorpicker-beta-debug.js
index 072ca39..f4f6e4f 100644
--- 
a/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/colorpicker-beta-debug.js
+++ 
b/dependencies/org.wso2.carbon.ui/src/main/resources/web/yui/build/colorpicker/colorpicker-beta-debug.js
@@ -1,9 +1,21 @@
 /*
-Copyright (c) 2007, Yahoo! Inc. All rights reserved.
-Code licensed under the BSD License:
-http://developer.yahoo.net/yui/license.txt
-version: 2.3.1
-*/
+ * 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.
+ */
 /**
  * Provides color conversion and validation utils
  * @class YAHOO.util.Color

Reply via email to