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 2009/04/23 12:31:44 UTC

svn commit: r767882 - /myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js

Author: werpu
Date: Thu Apr 23 10:31:44 2009
New Revision: 767882

URL: http://svn.apache.org/viewvc?rev=767882&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2210

added adapters for the existing hard references between the xhrCore
and the jsf_impl

Modified:
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js?rev=767882&r1=767881&r2=767882&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js Thu Apr 23 10:31:44 2009
@@ -20,17 +20,17 @@
     myfaces._impl.core._jsfImpl = function() {
 
         //third option myfaces._impl.xhrCoreAjax which will be the new core impl for now
-        this._requestHandler = new myfaces._impl.xhrCore._Ajax();
+        this._requestHandler = new (myfaces._impl._util._Utils.getGlobalConfig("transport", myfaces._impl.xhrCore._Ajax ))();
 
         /**
          * external event listener queue!
          */
-        this._eventListenerQueue = new myfaces._impl._util._ListenerQueue();
+        this._eventListenerQueue = new (myfaces._impl._util._Utils.getGlobalConfig("eventListenerQueue", myfaces._impl._util._ListenerQueue))();
 
         /**
          * external error listener queue!
          */
-        this._errorListenerQueue = new myfaces._impl._util._ListenerQueue();
+        this._errorListenerQueue = new (myfaces._impl._util._Utils.getGlobalConfig("errorListenerQueue", myfaces._impl._util._ListenerQueue))();
 
     };
 
@@ -202,7 +202,7 @@
             sourceForm = document.forms[0];
         }
 
-/*
+        /*
          * binding contract the javax.faces.partial.source must be
          * set according to the december 2008 preview
          */
@@ -261,11 +261,6 @@
         }
         this._requestHandler._ajaxRequest(element, sourceForm, ajaxContext, passThroughArguments);
 
-        /*
-         * TODO #61
-         * https://issues.apache.org/jira/browse/MYFACES-2112
-         * done
-         */
     };
 
     myfaces._impl.core._jsfImpl.prototype.addOnError = function(/*function*/errorListener) {
@@ -379,12 +374,7 @@
      *
      */
     myfaces._impl.core._jsfImpl.prototype.getProjectStage = function() {
-
         return "#{facesContext.application.projectStage}";
-        /**
-         * TODO #62
-         * https://issues.apache.org/jira/browse/MYFACES-2115
-         */
     };