|
Error: DWREngine is not defined: msg#00182java.dwr.user
Hello guys i am new in this forum , pls help! i have part of this configuration in my dwr.xml <create creator="spring" javascript="myController"> <param name="beanName" value="idmyController"/> </create> <bean id="idmyController" class="com.myapp.controlador.mvc.ajax.AjaxControllermyController" > <property name="concreteProcesoMovimientoAlmacenImpl"> <ref bean="idConcreteProcesoMovimientoAlmacenImplManagerObjectTransactional"/> </property> </bean> <convert converter="bean" match="com.myapp.controlador.mvc.ajax.AjaxWrapDetalleSalidaAlmacen"> <param name="include" value="idArticulo, cantidad, preciounitario, subtotal, idnumdocumento" /> </convert> with js , i am calling this function function eliminarDetalle(idrow){ alert("LA CONCHA"); var idArticulo = getDataFieldNoLocal("idArticulo"+idrow); var idcantidadextraer = getDataFieldNoLocal("cantidadextraer"+idrow); var idpreciounitario = getDataFieldNoLocal("preciounitario"+idrow); var idtotal = getDataFieldNoLocal("total"+idrow);//subtotal var idnumdocumento = getDataFieldNoLocal("idCodigoCabecera");//cabeceraSalidaAlmacen alert("voy a tratar de ELIMINAR esto idnumdocumento:"+idnumdocumento); var ajaxWrapDetalleSalidaAlmacen = new Object(); ajaxWrapDetalleSalidaAlmacen["idArticulo"] = idArticulo; ajaxWrapDetalleSalidaAlmacen["cantidad"] = idcantidadextraer; ajaxWrapDetalleSalidaAlmacen["preciounitario"] = idpreciounitario; ajaxWrapDetalleSalidaAlmacen["subtotal"] = idtotal; ajaxWrapDetalleSalidaAlmacen["idnumdocumento"] = idnumdocumento; alert(DWRUtil.toDescriptiveString(ajaxWrapDetalleSalidaAlmacen, 1));//works!!! //myController.eliminarDetalleSalidaAlmacen(ajaxWrapDetalleSalidaAlmacenBETA,handleEliminarDetalle); myController.concha(handleEliminarDetalle); } but i recieve this error , pls see photo (you will see in the url photo la "granjita", i change here only by explanation for "myapp"), and then i f i see the "consola Javascript" by firefox i saw this Error: DWREngine is not defined Archivo Fuente: http://localhost:8080/myapp/dwr/engine.js Línea: 412 if i make click there then is open a page with lines of code with the one selected , below if (batch.req) { batch.map.xml = "true"; if (batch.async) { batch.req.onreadystatechange = function() { DWREngine._stateChange(batch); }; <--------- [b]selected[/b] } var indexSafari = navigator.userAgent.indexOf("Safari/"); if (indexSafari >= 0) { var version = navigator.userAgent.substring(indexSafari + 7); if (parseInt(version, 10) < 400) batch.verb == "GET"; } what is wrong? , i only have 2 controller with spring, one works and the other no if i use the url test (http://localhost:8080/myapp/dwr/index.html) i see that works here my jsp header <script type="text/javascript" src="../js/subventanas/subVentanaLineaCatogriaProducto.js"></script> <script type='text/javascript' src='/myapp/dwr/interface/myController.js'></script> <script type="text/javascript" src="../js/ajax/dwrSalidaDeAlmacen.js"></script> [b]<script type='text/javascript' src='/myapp/dwr/engine.js'></script>[/b] <script type='text/javascript' src='/myapp/dwr/util.js'></script> pls help me, thanks for advanced http://www.nabble.com/file/6702/errordwr.png -- View this message in context: http://www.nabble.com/Error%3A-DWREngine-is-not-defined-tf3273070.html#a9100853 Sent from the DWR - Users mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: DWR Bandwidth, Joe Walker |
|---|---|
| Next by Date: | dwr.util, Shane Sheridan |
| Previous by Thread: | Performance issues using DWR, Rahav Shalom-Revivo |
| Next by Thread: | dwr.util, Shane Sheridan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |