activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dafeirou <feirou...@yahoo.com.cn>
Subject ActiveMq(ajax) js Conflict
Date Tue, 16 Dec 2008 08:44:01 GMT

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.<init>(BasicFormPanel.java:21)
        at
com.yht.ui.gwt.client.widget.util.BaseLoginPanel.init(BaseLoginPanel.java:80)
        at
com.yht.ui.gwt.client.widget.LoginPanel.<init>(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.


Mime
View raw message