Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 11681 invoked from network); 16 Dec 2008 08:44:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 08:44:31 -0000 Received: (qmail 53789 invoked by uid 500); 16 Dec 2008 08:44:43 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 53772 invoked by uid 500); 16 Dec 2008 08:44:42 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 53761 invoked by uid 99); 16 Dec 2008 08:44:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 00:44:42 -0800 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 08:44:22 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LCVX7-0002Bt-Bz for users@activemq.apache.org; Tue, 16 Dec 2008 00:44:01 -0800 Message-ID: <21029238.post@talk.nabble.com> Date: Tue, 16 Dec 2008 00:44:01 -0800 (PST) From: dafeirou To: users@activemq.apache.org Subject: ActiveMq(ajax) js Conflict MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: feirou520@yahoo.com.cn X-Virus-Checked: Checked by ClamAV on apache.org Hi riders, The ajax featues of amq are provided on the client side by the _amq.js script. This script depends on behaviour and prototype. But The method in prototype.js conflicts with js of smartgwt Have been Transfer automatically Thanks guys Uncaught JavaScript exception [iterator is not a function] in http://localhost:8888/com.yht.ui.gwt.Application/amq/prototype.js, line 261 ERROR] Unable to load module entry point class com.yht.ui.gwt.client.Application (see associated exception for details) com.google.gwt.core.client.JavaScriptException: (TypeError): iterator is not a function fileName: http://localhost:8888/com.yht.ui.gwt.Application/amq/prototype.js lineNumber: 261 stack: ([object Object],0)@http://localhost:8888/com.yht.ui.gwt.Application/amq/prototype.js:261 ([object Object])@http://localhost:8888/com.yht.ui.gwt.Application/amq/prototype.js:221 ((function (value) {try {iterator(value, index++);} catch (e) {if (e != $continue) {throw e;}}}))@http://localhost:8888/com.yht.ui.gwt.Application/amq/prototype.js:415 ((function (value, index) {if (iterator(value, index)) {result = value;throw $break;}}))@http://localhost:8888/com.yht.ui.gwt.Application/amq/prototype.js:219 ("name","isc_OID_6")@http://localhost:8888/com.yht.ui.gwt.Application/amq/prototype.js:260 ("isc_OID_6",[object Array],"name")@http://localhost:8888/com.yht.ui.gwt.Application/sc/modules/ISC_Core.js:280 ("isc_OID_6")@http://localhost:8888/com.yht.ui.gwt.Application/sc/modules/ISC_Forms.js:306 ("isc_OID_6")@http://localhost:8888/com.yht.ui.gwt.Application/sc/modules/ISC_Forms.js:308 ("isc_OID_6")@jar:file:/usr/src/smartgwt.jar!/com/smartgwt/client/widgets/form/DynamicForm.java:1478 protected void com.smartgwt.client.widgets.BaseWidget.onInit()()@:0 ()@jar:file:/usr/src/smartgwt.jar!/com/smartgwt/client/widgets/BaseWidget.java:115 protected final void com.smartgwt.client.widgets.BaseWidget.doInit()()@:0 ()@jar:file:/usr/src/smartgwt.jar!/com/smartgwt/client/widgets/form/DynamicForm.java:89 gwtOnLoad([object Window],"com.yht.ui.gwt.Application","1.5")@:0 gwtOnLoad((function () {alert("Failed to load module com.yht.ui.gwt.Application\".\nPlease see the log in the development shell for details.");}),"com.yht.ui.gwt.Application","http://localhost:8888/com.yht.ui.gwt.Application/")@http://localhost:8888/com.yht.ui.gwt.Application/hosted.html?com_yht_ui_gwt_Application:20 maybeStartModule()@http://localhost:8888/com.yht.ui.gwt.Application/com.yht.ui.gwt.Application.nocache.js:100 ()@http://localhost:8888/com.yht.ui.gwt.Application/com.yht.ui.gwt.Application.nocache.js:393 @http://localhost:8888/com.yht.ui.gwt.Application/hosted.html?com_yht_ui_gwt_Application:39 at com.smartgwt.client.widgets.form.DynamicForm.getFieldJS(Native Method) at com.smartgwt.client.widgets.form.DynamicForm.linkFields(DynamicForm.java:1470) at com.smartgwt.client.widgets.form.DynamicForm.onInit(DynamicForm.java:1464) at com.smartgwt.client.widgets.BaseWidget.doInit(Native Method) at com.smartgwt.client.widgets.form.DynamicForm.create(Native Method) at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:279) at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:746) at com.yht.ui.gwt.client.core.BasicFormPanel.init(BasicFormPanel.java:61) at com.yht.ui.gwt.client.core.BasicFormPanel.(BasicFormPanel.java:21) at com.yht.ui.gwt.client.widget.util.BaseLoginPanel.init(BaseLoginPanel.java:80) at com.yht.ui.gwt.client.widget.LoginPanel.(LoginPanel.java:12) at com.yht.ui.gwt.client.Application.onLoad(Application.java:21) at com.yht.ui.gwt.client.widget.util.BaseApp.onModuleLoad(BaseApp.java:23) -- View this message in context: http://www.nabble.com/ActiveMq%28ajax%29-js-Conflict-tp21029238p21029238.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.