You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2011/10/14 13:03:59 UTC

svn commit: r1183299 - in /myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl: _util/ core/ i18n/ xhrCore/ xhrCore/engine/

Author: werpu
Date: Fri Oct 14 11:03:58 2011
New Revision: 1183299

URL: http://svn.apache.org/viewvc?rev=1183299&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3357
cummulative commit for all improvements mentioned in the issue


Removed:
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js
Modified:
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Queue.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_UnitTest.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf-uncompressed.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_HK.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_TW.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestQueue.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_FinalizeableObj.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_Transports.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/BaseRequest.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/FormData.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/XhrConst.js

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js Fri Oct 14 11:03:58 2011
@@ -29,7 +29,7 @@
  * A jquery like query API would be nice
  * but this would blow up our codebase significantly
  */
-myfaces._impl.core._Runtime.singletonExtendClass("myfaces._impl._util._Dom", Object,
+_MF_SINGLTN("myfaces._impl._util._Dom", Object,
 /**
  * @lends myfaces._impl._util._Dom.prototype
  */
@@ -160,7 +160,7 @@ myfaces._impl.core._Runtime.singletonExt
 
 
     deleteScripts: function(nodeList) {
-        if(!nodeList || !nodeList.length) return;
+        if(!nodeList || !nodeList.length) return;
         var len = nodeList.length;
         for(var cnt = 0; cnt < len; cnt++) {
              var item = nodeList[cnt];
@@ -582,7 +582,7 @@ myfaces._impl.core._Runtime.singletonExt
             probe.innerHTML = "<table><" + itemNodeName + "></" + itemNodeName + ">" + "</table>";
         }
         var depth = this._determineDepth(probe);
-        
+
         this._removeChildNodes(probe, false);
         probe.innerHTML = "";
 
@@ -707,7 +707,7 @@ myfaces._impl.core._Runtime.singletonExt
             //on some elements we might not have covered by our table check on the outerHTML
             // can fail we skip those in favor of stability
             try {
-                // both innerHTML and outerHTML fails when <tr> is the node, but in that case 
+                // both innerHTML and outerHTML fails when <tr> is the node, but in that case
                 // we need to force node removal, otherwise it will be on the tree (IE 7 IE 6)
                 this.detach(node);
                 if (!b.isIEMobile) {
@@ -924,12 +924,12 @@ myfaces._impl.core._Runtime.singletonExt
 
     /**
      * optimized search for an array of tag names
-     *
+     * deep scan will always be performed.
      * @param fragment the fragment which should be searched for
      * @param tagNames an map indx of tag names which have to be found
-     * @param deepScan if set to true a deep scan is performed otherwise a shallow scan
+     * 
      */
-    findByTagNames: function(fragment, tagNames, deepScan) {
+    findByTagNames: function(fragment, tagNames) {
         if(!fragment) {
             throw Error(this._Lang.getMessage("ERR_MUST_BE_PROVIDED1",null, "myfaces._impl._util._Dom.findByTagNames", "fragment"));
         }
@@ -940,26 +940,19 @@ myfaces._impl.core._Runtime.singletonExt
         var nodeType = fragment.nodeType;
         if(nodeType != 1 && nodeType != 9 && nodeType != 11) return null;
 
-
-        //shortcut for single components
-        if (!deepScan && tagNames[fragment.tagName.toLowerCase()]) {
-            return fragment;
+        //we can use the shortcut
+        if(fragment.querySelectorAll) {
+           var query = [];
+           for(var key in tagNames) {
+               query.push(key);
+           }
+           var res = [];
+           if(fragment.tagName && tagNames[fragment.tagName.toLowerCase()]) {
+               res.push(fragment);
+           }
+           return res.concat(this._Lang.objToArray( fragment.querySelectorAll(query.join(", "))));
         }
 
-        //shortcut elementsByTagName
-        if (deepScan && this._Lang.exists(fragment, "getElementsByTagName")) {
-            var retArr = [];
-            for (var key in tagNames) {
-                var foundElems = this.findByTagName(fragment, key, deepScan);
-                if (foundElems) {
-                    retArr = retArr.concat(foundElems);
-                }
-            }
-            return retArr;
-        } else if (deepScan) {
-            //no node type with child tags we can handle that without node type checking
-            return null;
-        }
 
         //now the filter function checks case insensitively for the tag names needed
         var filter = function(node) {
@@ -968,7 +961,7 @@ myfaces._impl.core._Runtime.singletonExt
 
         //now we run an optimized find all on it
         try {
-            return this.findAll(fragment, filter, deepScan);
+            return this.findAll(fragment, filter, true);
         } finally {
             //the usual IE6 is broken, fix code
             filter = null;
@@ -1370,7 +1363,7 @@ myfaces._impl.core._Runtime.singletonExt
             if (ret) return ret;
         } else {
             elem = this.byId(elem);
-            // element might have removed from DOM in method processUpdate 
+            // element might have removed from DOM in method processUpdate
             if (!elem){
             	return null;
             }

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js Fri Oct 14 11:03:58 2011
@@ -1,4 +1,4 @@
-myfaces._impl.core._Runtime.singletonExtendClass("myfaces._impl._util._ExtDom", myfaces._impl._util._Dom, {
+_MF_SINGLTN("myfaces._impl._util._ExtDom", myfaces._impl._util._Dom, {
 
     _Lang:myfaces._impl._util._Lang,
     _RT:myfaces._impl.core._Runtime,

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_HtmlStripper.js Fri Oct 14 11:03:58 2011
@@ -25,7 +25,7 @@
  */
 
 /** @namespace myfaces._impl._util._HtmlStripper */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl._util._HtmlStripper", Object,
+_MF_CLS("myfaces._impl._util._HtmlStripper", Object,
 /** @lends myfaces._impl._util._HtmlStripper.prototype */
 {
     BEGIN_TAG: "html",

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ListenerQueue.js Fri Oct 14 11:03:58 2011
@@ -29,7 +29,7 @@
  * <p>It is based upon our high performance queue and adds dedicated
  * methods for listener based closures to the mix </p>
  * */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl._util._ListenerQueue", myfaces._impl._util._Queue,
+_MF_CLS("myfaces._impl._util._ListenerQueue", myfaces._impl._util._Queue,
 /**
  * @lends myfaces._impl._util._ListenerQueue.prototype
  */

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Queue.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Queue.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Queue.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Queue.js Fri Oct 14 11:03:58 2011
@@ -22,7 +22,7 @@
  * improved version of
  * @see <a href="http://safalra.com/web-design/javascript/queues/Queue.js">http://safalra.com/web-design/javascript/queues/Queue.js</a>
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl._util._Queue", Object,
+_MF_CLS("myfaces._impl._util._Queue", Object,
   /**
    * @lends myfaces._impl._util._Queue.prototype
    */

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_UnitTest.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_UnitTest.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_UnitTest.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_UnitTest.js Fri Oct 14 11:03:58 2011
@@ -24,7 +24,7 @@
  * which test the various functions of the framework
  */
 /** @namespace myfaces._impl._util._UnitTest*/
-myfaces._impl.core._Runtime.singletonExtendClass("myfaces._impl._util._UnitTest", Object, {
+_MF_SINGLTN("myfaces._impl._util._UnitTest", Object, {
 
     /**
      * Simple assert true
@@ -33,13 +33,13 @@ myfaces._impl.core._Runtime.singletonExt
      * @param assertionOutcome the assertion outcome (true or false)
      */
     assertTrue: function(message, assertionOutcome) {
-        var _Lang = myfaces._impl._util._Lang;
+        var _Logger = myfaces._impl._util._Logging;
 
         if (!assertionOutcome) {
-            _Lang.logError(message, "assertionOutcome:", assertionOutcome);
+            _Logger.logError(message, "assertionOutcome:", assertionOutcome);
             throw Error(message, assertionOutcome);
         }
-        _Lang.logInfo(message, "assertionOutcome:", assertionOutcome);
+        _Logger.logInfo(message, "assertionOutcome:", assertionOutcome);
     },
     
     /**
@@ -49,12 +49,12 @@ myfaces._impl.core._Runtime.singletonExt
      * @param assertionOutcome the assertion outcome (true or false)
      */
     assertFalse: function(message, assertionOutcome) {
-        var _Lang = myfaces._impl._util._Lang;
+        var _Logger = myfaces._impl._util._Logging;
 
         if (assertionOutcome) {
-            _Lang.logError(message, "assertionOutcome:", assertionOutcome);
+            _Logger.logError(message, "assertionOutcome:", assertionOutcome);
             throw Error(message, assertionOutcome);
         }
-        _Lang.logInfo(message, "assertionOutcome:", assertionOutcome);
+        _Logger.logInfo(message, "assertionOutcome:", assertionOutcome);
     }
 });
\ No newline at end of file

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js Fri Oct 14 11:03:58 2011
@@ -21,7 +21,7 @@
  * @description Implementation singleton which implements all interface method
  * defined by our jsf.js API
  * */
-myfaces._impl.core._Runtime.singletonExtendClass("myfaces._impl.core.Impl", Object,
+_MF_SINGLTN("myfaces._impl.core.Impl", Object,
 /**
  * @lends myfaces._impl.core.Impl.prototype
  */
@@ -708,3 +708,5 @@ myfaces._impl.core._Runtime.singletonExt
         }
     }
 });    
+
+

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js Fri Oct 14 11:03:58 2011
@@ -34,9 +34,6 @@
  */
 /** @namespace myfaces._impl.core._Runtime*/
 
-
-
-
 myfaces._impl.core = (myfaces._impl.core) ? myfaces._impl.core : {};
 //now this is the only time we have to do this cascaded and manually
 //for the rest of the classes our reserveNamespace function will do the trick
@@ -916,3 +913,10 @@ if (!myfaces._impl.core._Runtime) {
 
     };
 }
+
+/*we cannot privatize with a global function hence we store the values away for the init part*/
+myfaces._impl.core._Runtime._oldExtends = window._MF_CLS;
+myfaces._impl.core._Runtime._oldSingleton = window._MF_SINGLETON;
+
+window._MF_CLS = myfaces._impl.core._Runtime.extendClass;
+window._MF_SINGLTN = myfaces._impl.core._Runtime.singletonExtendClass;

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf-uncompressed.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf-uncompressed.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf-uncompressed.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf-uncompressed.js Fri Oct 14 11:03:58 2011
@@ -30,7 +30,7 @@ if (!window.jsf) {
 
     _ls("#{resource['org.apache.myfaces.core.impl.util:_Lang.js']}", null, null, "UTF-8", false);
 
-    _ls("#{resource['org.apache.myfaces.core.impl.util:_ExtLang.js']}", null, null, "UTF-8", false);
+    _ls("#{resource['org.apache.myfaces.core.impl.util:_Logging.js']}", null, null, "UTF-8", false);
     _ls("#{resource['org.apache.myfaces.core.impl.util:_UnitTest.js']}", null, null, "UTF-8", false);
     _ls("#{resource['org.apache.myfaces.core.impl.util:_Queue.js']}", null, null, "UTF-8", false);
     _ls("#{resource['org.apache.myfaces.core.impl.util:_ListenerQueue.js']}", null, null, "UTF-8", false);
@@ -55,5 +55,7 @@ if (!window.jsf) {
     _ls("#{resource['org.apache.myfaces.core.impl.xhrCore:_AjaxResponse.js']}", null, null, "UTF-8", false);
     _ls("#{resource['org.apache.myfaces.core.impl.xhrCore:_Transports.js']}", null, null, "UTF-8", false);
     _ls("#{resource['org.apache.myfaces.core.impl.core:Impl.js']}", null, null, "UTF-8", false);
+    _ls("#{resource['org.apache.myfaces.core.impl.core:_EndImpl.js']}", null, null, "UTF-8", false);
+
     _ls("#{resource['org.apache.myfaces.core.api:jsf.js']}", null, null, "UTF-8", false);
 }    
\ No newline at end of file

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages.js Fri Oct 14 11:03:58 2011
@@ -30,7 +30,7 @@
  * @name Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages", Object,
+_MF_CLS("myfaces._impl.i18n.Messages", Object,
 /**
  * @lends myfaces._impl.i18n.Messages.prototype
  */

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js Fri Oct 14 11:03:58 2011
@@ -34,7 +34,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_de", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_de", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_de.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js Fri Oct 14 11:03:58 2011
@@ -24,7 +24,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_es", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_es", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_es.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js Fri Oct 14 11:03:58 2011
@@ -25,7 +25,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_fr", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_fr", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_fr.prototype */
 {
     MSG_TEST:               "MessageTest FR",

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js Fri Oct 14 11:03:58 2011
@@ -24,7 +24,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_it", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_it", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_it.prototype */
 {
     /*Messages*/

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js Fri Oct 14 11:03:58 2011
@@ -22,7 +22,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_nl", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_nl", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_nl.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js Fri Oct 14 11:03:58 2011
@@ -22,7 +22,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_ru", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_ru", myfaces._impl.i18n.Messages,
 /** myfaces._impl.i18n.Messages_ru.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js Fri Oct 14 11:03:58 2011
@@ -22,7 +22,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_zh_CN", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_zh_CN", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_zh_CN.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_HK.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_HK.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_HK.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_HK.js Fri Oct 14 11:03:58 2011
@@ -22,7 +22,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_zh_HK", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_zh_HK", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_zh_HK.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_TW.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_TW.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_TW.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_TW.js Fri Oct 14 11:03:58 2011
@@ -22,7 +22,7 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.i18n.Messages_zh_TW", myfaces._impl.i18n.Messages,
+_MF_CLS("myfaces._impl.i18n.Messages_zh_TW", myfaces._impl.i18n.Messages,
 /** @lends myfaces._impl.i18n.Messages_zh_TW.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequest.js Fri Oct 14 11:03:58 2011
@@ -29,7 +29,7 @@
  * @memberOf myfaces._impl.xhrCore
  * @extends myfaces._impl.xhrCore._FinalizeableObj
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore._AjaxRequest", myfaces._impl.xhrCore._FinalizeableObj,
+_MF_CLS("myfaces._impl.xhrCore._AjaxRequest", myfaces._impl.xhrCore._FinalizeableObj,
         /** @lends myfaces._impl.xhrCore._AjaxRequest.prototype */
         {
 
@@ -287,25 +287,27 @@ myfaces._impl.core._Runtime.extendClass(
              * which keeps the final Send Representation of the
              */
             getFormData : function() {
+                var _AJAXUTIL = this._AJAXUTIL;
+                var _Lang = this._Lang;
+                var myfacesOptions = this._context.myfaces;
 
                 var ret = null;
 
                 //now this is less performant but we have to call it to allow viewstate decoration
                 if(!this._partialIdsArray ||!this._partialIdsArray.length) {
                     var viewState = jsf.getViewState(this._sourceForm);
-                    ret = this._Lang.createFormDataDecorator(viewState);
+                    ret = _Lang.createFormDataDecorator(viewState);
 
                     //just in case the source item is outside of the form
                     //only if the form override is set we have to append the issuing item
                     //otherwise it is an element of the parent form
-                    if(this._source && this._context.myfaces && this._context.myfaces.form)
-                        this._AJAXUTIL.appendIssuingItem(this._source);
+                    if(this._source && myfacesOptions && myfacesOptions.form)
+                        _AJAXUTIL.appendIssuingItem(this._source);
                 } else {
-                    ret = this._Lang.createFormDataDecorator(new Array());
-                    this._AJAXUTIL.encodeSubmittableFields(ret,
-                            this._sourceForm, this._partialIdsArray);
-                    if(this._source && this._context.myfaces && this._context.myfaces.form)
-                        this._AJAXUTIL.appendIssuingItem(this._source);
+                    ret = _Lang.createFormDataDecorator(new Array());
+                    _AJAXUTIL.encodeSubmittableFields(ret, this._sourceForm, this._partialIdsArray);
+                    if(this._source && myfacesOptions && myfacesOptions.form)
+                        _AJAXUTIL.appendIssuingItem(this._source);
                 }
 
                 return ret;
@@ -364,7 +366,6 @@ myfaces._impl.core._Runtime.extendClass(
                 //final cleanup to terminate everything
                 this._Lang.clearExceptionProcessed();
 
-                //_t._context.source;
                 if (this._xhr.readyState == this._XHR_CONST.READY_STATE_DONE) {
                     this._callSuper("_finalize");
                 }

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestLevel2.js Fri Oct 14 11:03:58 2011
@@ -19,7 +19,7 @@
  * IT is a specialized request which uses the form data
  * element for the handling of forms
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore._AjaxRequestLevel2", myfaces._impl.xhrCore._AjaxRequest, {
+_MF_CLS("myfaces._impl.xhrCore._AjaxRequestLevel2", myfaces._impl.xhrCore._AjaxRequest, {
 
     _sourceForm: null,
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestQueue.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestQueue.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestQueue.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxRequestQueue.js Fri Oct 14 11:03:58 2011
@@ -14,7 +14,7 @@
  * limitations under the License.
 */
 /** @namespace myfaces._impl.xhrCore._AjaxRequestQueue */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore._AjaxRequestQueue", myfaces._impl._util._Queue,
+_MF_CLS("myfaces._impl.xhrCore._AjaxRequestQueue", myfaces._impl._util._Queue,
         /** @lends  myfaces._impl.xhrCore._AjaxRequestQueue.prototype */
         {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js Fri Oct 14 11:03:58 2011
@@ -28,7 +28,7 @@
  * The singleton approach also improves performance
  * due to less object gc compared to the old instance approach.
  */
-myfaces._impl.core._Runtime.singletonExtendClass("myfaces._impl.xhrCore._AjaxResponse", Object,
+_MF_SINGLTN("myfaces._impl.xhrCore._AjaxResponse", Object,
         /** @lends myfaces._impl.xhrCore._AjaxResponse.prototype */
         {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxUtils.js Fri Oct 14 11:03:58 2011
@@ -24,7 +24,7 @@
  * TODO move this into a singleton, the current structure is
  * still a j4fry legacy we need to get rid of it in the long run
  */
-myfaces._impl.core._Runtime.singletonExtendClass("myfaces._impl.xhrCore._AjaxUtils", Object,
+_MF_SINGLTN("myfaces._impl.xhrCore._AjaxUtils", Object,
 /** @lends myfaces._impl.xhrCore._AjaxUtils.prototype */
 {
     /**

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_FinalizeableObj.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_FinalizeableObj.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_FinalizeableObj.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_FinalizeableObj.js Fri Oct 14 11:03:58 2011
@@ -35,7 +35,7 @@
  * @see <a href="http://www.quirksmode.org/blog/archives/2005/10/memory_leaks_li.html">http://www.quirksmode.org/blog/archives/2005/10/memory_leaks_li.html</a>
  * @see <a href="http://www.josh-davis.org/node/7">http://www.josh-davis.org/node/7</a>
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore._FinalizeableObj", Object,
+_MF_CLS("myfaces._impl.xhrCore._FinalizeableObj", Object,
 /** @lends myfaces._impl.xhrCore._FinalizeableObj.prototype */
 {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_IFrameRequest.js Fri Oct 14 11:03:58 2011
@@ -23,7 +23,7 @@
  * @description specialized implementation of the jsf js ajax request class
  * which utilizes an iframe transport for communications to the server
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore._IFrameRequest", myfaces._impl.xhrCore._AjaxRequest,
+_MF_CLS("myfaces._impl.xhrCore._IFrameRequest", myfaces._impl.xhrCore._AjaxRequest,
         /** @lends myfaces._impl.xhrCore._IFrameRequest.prototype */
         {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_Transports.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_Transports.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_Transports.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_Transports.js Fri Oct 14 11:03:58 2011
@@ -39,7 +39,7 @@
  * to different transport implementations and the auto passing of parameters into their
  * corresponding protected attributes on class level in the transports themselves)
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore._Transports" , Object,
+_MF_CLS("myfaces._impl.xhrCore._Transports" , Object,
      /** @lends myfaces._impl.xhrCore._Transports.prototype */ {
 
     _PAR_ERRORLEVEL:"errorlevel",

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/BaseRequest.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/BaseRequest.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/BaseRequest.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/BaseRequest.js Fri Oct 14 11:03:58 2011
@@ -69,7 +69,7 @@
  *      <li>statusText</li>
  * </ul>
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore.engine.BaseRequest", myfaces._impl.xhrCore._FinalizeableObj,
+_MF_CLS("myfaces._impl.xhrCore.engine.BaseRequest", myfaces._impl.xhrCore._FinalizeableObj,
         /** @lends myfaces._impl.xhrCore.engine.BaseRequest.prototype */
         {
             /*standard attributes*/

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/FormData.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/FormData.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/FormData.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/FormData.js Fri Oct 14 11:03:58 2011
@@ -22,7 +22,7 @@
  *
  * html5 formdata object emulation for the iframe
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore.engine.FormData", Object,
+_MF_CLS("myfaces._impl.xhrCore.engine.FormData", Object,
         /** @lends myfaces._impl.xhrCore.engine.FormData.prototype */
         {
             form: null,

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/IFrame.js Fri Oct 14 11:03:58 2011
@@ -24,7 +24,7 @@
  * wrapper for an iframe transport object with all its differences
  * it emulates the xhr level2 api
  */
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore.engine.IFrame", myfaces._impl.xhrCore.engine.BaseRequest,
+_MF_CLS("myfaces._impl.xhrCore.engine.IFrame", myfaces._impl.xhrCore.engine.BaseRequest,
         /** @lends myfaces._impl.xhrCore.engine.IFrame.prototype */
         {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/Xhr1.js Fri Oct 14 11:03:58 2011
@@ -26,7 +26,7 @@
  * it emulates the xhr level2 api which is way simpler than the level1 api
  */
 
-myfaces._impl.core._Runtime.extendClass("myfaces._impl.xhrCore.engine.Xhr1", myfaces._impl.xhrCore.engine.BaseRequest,
+_MF_CLS("myfaces._impl.xhrCore.engine.Xhr1", myfaces._impl.xhrCore.engine.BaseRequest,
         /** @lends myfaces._impl.xhrCore.engine.Xhr1.prototype */
         {
 

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/XhrConst.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/XhrConst.js?rev=1183299&r1=1183298&r2=1183299&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/XhrConst.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/engine/XhrConst.js Fri Oct 14 11:03:58 2011
@@ -24,7 +24,7 @@
  * @name XhrConst
  * @memberOf myfaces._impl.xhrCore.engine
  */
-myfaces._impl.core._Runtime.singletonExtendClass("myfaces._impl.xhrCore.engine.XhrConst", Object,
+_MF_SINGLTN("myfaces._impl.xhrCore.engine.XhrConst", Object,
         /** @lends myfaces._impl.xhrCore.engine.XhrConst.prototype */
         {
             READY_STATE_UNSENT:     0,