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 2010/05/17 16:44:53 UTC
svn commit: r945187 -
/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js
Author: werpu
Date: Mon May 17 14:44:53 2010
New Revision: 945187
URL: http://svn.apache.org/viewvc?rev=945187&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2721
fixing a refactoring error
Modified:
myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js
Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js?rev=945187&r1=945186&r2=945187&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/api/jsf.js Mon May 17 14:44:53 2010
@@ -55,7 +55,7 @@ if ('undefined' == typeof jsf || null ==
* javax.faces.application.Application.getProjectStage()
*/
jsf.getProjectStage = function() {
- var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core._jsfImpl);
+ var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core.Impl);
return impl.getProjectStage();
};
@@ -69,7 +69,7 @@ if ('undefined' == typeof jsf || null ==
*/
jsf.getViewState = function(formElement) {
/*we are not allowed to add the impl on a global scope so we have to inline the code*/
- var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core._jsfImpl);
+ var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core.Impl);
return impl.getViewState(formElement);
};
}
@@ -104,17 +104,17 @@ if ('undefined' == typeof jsf.ajax || nu
options = {};
}
/*we are not allowed to add the impl on a global scope so we have to inline the code*/
- var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core._jsfImpl);
+ var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core.Impl);
return impl.request(element, event, options);
};
jsf.ajax.addOnError = function(/*function*/errorListener) {
- var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core._jsfImpl);
+ var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core.Impl);
return impl.addOnError(errorListener);
}
jsf.ajax.addOnEvent = function(/*function*/eventListener) {
- var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core._jsfImpl);
+ var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core.Impl);
return impl.addOnEvent(eventListener);
}
@@ -124,7 +124,7 @@ if ('undefined' == typeof jsf.ajax || nu
* @param context the ajax context!
*/
jsf.ajax.response = function(/*xhr request object*/request, context) {
- var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core._jsfImpl);
+ var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core.Impl);
return impl.response(request, context);
};
}
@@ -143,7 +143,7 @@ if ('undefined' == typeof jsf.util || nu
*
*/
jsf.util.chain = function(source, event) {
- var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core._jsfImpl);
+ var impl = myfaces._impl.core._Runtime.getGlobalConfig("jsfAjaxImpl", myfaces._impl.core.Impl);
return impl.chain.apply(jsf.ajax._impl, arguments);
}
}