You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/06/15 11:35:37 UTC
svn commit: r1135977 -
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Author: lofwyr
Date: Wed Jun 15 09:35:37 2011
New Revision: 1135977
URL: http://svn.apache.org/viewvc?rev=1135977&view=rev
Log:
logging
Modified:
myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1135977&r1=1135976&r2=1135977&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Wed Jun 15 09:35:37 2011
@@ -2114,7 +2114,7 @@ Tobago.Transport.JqueryTransport = {
requestObject.timeout = requestOptions.timeout;
requestObject.success = function(data, textStatus) {
- LOG.debug('requestObject.success()'); // @DEV_ONLY
+ LOG.debug('requestObject.success(): status=' + textStatus + "'"); // @DEV_ONLY
requestOptions.resultData = data;
requestOptions.textStatus = textStatus;
@@ -2122,13 +2122,12 @@ Tobago.Transport.JqueryTransport = {
};
requestObject.error = function(xhr, textStatus, errorThrown) {
- LOG.debug('requestOptions.error() : ' + textStatus); // @DEV_ONLY
+ LOG.warn('requestOptions.error(): status=' + textStatus + "' error='" + errorThrown + "'"); // @DEV_ONLY
requestOptions.xhr = xhr;
requestOptions.textStatus = textStatus;
Tobago.Updater.onError(requestOptions);
};
-
return Tobago.Transport.request(function() {
requestOptions.oldValue = Tobago.action.value;
requestObject.url = requestOptions.url;