geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwo...@apache.org
Subject svn commit: r817594 - in /geronimo/server/trunk/plugins: console/console-base-portlets/src/main/webapp/graphs/memoryGraphJS.jsp system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/ajax/progressbar.jsp
Date Tue, 22 Sep 2009 10:53:03 GMT
Author: rwonly
Date: Tue Sep 22 10:53:03 2009
New Revision: 817594

URL: http://svn.apache.org/viewvc?rev=817594&view=rev
Log:
Update the using of DWR API, although DWREngine/DWRUtil still works in dwr 3.0.M1, but it
has been eliminated from RC1.

Modified:
    geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/graphs/memoryGraphJS.jsp
    geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/ajax/progressbar.jsp

Modified: geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/graphs/memoryGraphJS.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/graphs/memoryGraphJS.jsp?rev=817594&r1=817593&r2=817594&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/graphs/memoryGraphJS.jsp
(original)
+++ geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/graphs/memoryGraphJS.jsp
Tue Sep 22 10:53:03 2009
@@ -15,7 +15,7 @@
    limitations under the License.
 --%>
 <%@ page contentType="text/javascript" %>
-DWREngine.setErrorHandler(null);
+dwr.engine.setErrorHandler(null);
 var stopped=false;
 function callServer() {
     metadata = {};
@@ -33,5 +33,5 @@
 }
 function onError() {
     stopped=true;
-//    DWRUtil.setValue("<portlet:namespace/>ErrorArea", '<form name="<portlet:namespace/>Refresh"
action="<portlet:actionURL/>"><input type="submit" value="Refresh"/></form>');
+//    dwr.util.setValue("<portlet:namespace/>ErrorArea", '<form name="<portlet:namespace/>Refresh"
action="<portlet:actionURL/>"><input type="submit" value="Refresh"/></form>');
 }

Modified: geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/ajax/progressbar.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/ajax/progressbar.jsp?rev=817594&r1=817593&r2=817594&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/ajax/progressbar.jsp
(original)
+++ geronimo/server/trunk/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/ajax/progressbar.jsp
Tue Sep 22 10:53:03 2009
@@ -21,7 +21,7 @@
 <script type='text/javascript' src='/console/dwr3/util.js'></script>
 
 <script type="text/javascript">
-DWREngine.setErrorHandler(<portlet:namespace/>onError);
+dwr.engine.setErrorHandler(<portlet:namespace/>onError);
 function <portlet:namespace/>refreshProgress()
 {
     metadata = {};



Mime
View raw message