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/10 19:08:44 UTC

svn commit: r1181080 - in /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl: _util/_ExtLang.js core/_Runtime.js

Author: werpu
Date: Mon Oct 10 17:08:44 2011
New Revision: 1181080

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


Modified:
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js?rev=1181080&r1=1181079&r2=1181080&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtLang.js Mon Oct 10 17:08:44 2011
@@ -105,6 +105,7 @@ myfaces._impl.core._Runtime.singletonDel
                 argsStr.push("</div>");
             }
             elem.innerHTML = "<div class='args argsinfo'>"+logType.toUpperCase() + "</div>" + argsStr.join("");
+            logHolder.scrollTop = logHolder.scrollHeight;
         }
     },
 

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js?rev=1181080&r1=1181079&r2=1181080&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_Runtime.js Mon Oct 10 17:08:44 2011
@@ -650,15 +650,18 @@ if (!myfaces._impl.core._Runtime) {
                     var _oldDescLevel = this._mfClsDescLvl[_mappedName] || this;
                     //we now step one level down
                     var _parentCls = _oldDescLevel._parentCls;
-
+                    var ret = null;
                     try {
                         //we now store the level position as new descension level for callSuper
                         descLevel[_mappedName] = _parentCls;
                         //and call the code on this
-                        _parentCls[methodName].apply(this, passThrough);
+                        ret = _parentCls[methodName].apply(this, passThrough);
                     } finally {
                         descLevel[_mappedName] = _oldDescLevel;
                     }
+                    if('undefined' != typeof ret) {
+                        return ret;
+                    }
                 };
                 //reference to its own type
                 newClazz.prototype._mfClazz = newCls;