开发crm 时候,dwr 的使用老是忘。以后多看看日志;
步骤:
首先: 在pipelineService 里写好方法,checkEdit, 注意返回的值都是 “String” 类型的.
在dwr.xml 中找到 pipelineService,然后配置号 checkEdit的方法;
第三步:登陆地址:http://localhost/dwr/index.html ,生成suspectService.js 放在
erp的文件包里;
dwr 需要总结一下;有很多东西都还不是很懂;
crm suspectService 不能直接在jsp里new 一个对象,因为是依赖spring注入;