dwr
文章平均质量分 79
robin622
这个作者很懒,什么都没留下…
展开
-
DWR对象构造,深入分析dwr中的DWRUtil.getValues
当你需要通过dwr完成类似提交form的操作,了解DWRUtil.getValues是必须的 /** * Given a map, call getValue() for all the entries in the map using the entry key as an element id. * Given a string or element that refers to a fo原创 2008-02-23 18:25:00 · 827 阅读 · 0 评论 -
dwrutil
$("precloneNode1suf") 取得该对象;DWRUtil.selectRange("selectRangeBasic", 5, 15) 选中selectRangeBasic文本框里面从第五个字符到第15个字符之间的字符.DWRUtil._getSelection("selectRangeBasic") 得到selectRangeBasic文本框里选中的字符.var arrayFi原创 2008-02-25 20:02:00 · 687 阅读 · 0 评论 -
关于DWR异常处理小结
在脚本engine.js中包含DWR的核心部分,通常情况下你的应用应该包含它.通常情况下还会包含util.js,它包含一些可选的实用方法.Demo.js是在DWR中动态定义它还包含一个对应的远程版本就是Demo.java.如果当你看到如下代码:Demo.Method1=function{callback,p0}Demo.Method2=function{callback}所以可以看原创 2008-02-25 21:03:00 · 674 阅读 · 0 评论 -
DWR->StateBatch
但异步请求提交后,服务端完成请求,dwr框架会调用DWREngine._stateChange来处理返回结果/*** @private Called by XMLHttpRequest to indicate that something has happened*/DWREngine._stateChange = function(batch) {//状态正确则原创 2008-02-26 12:09:00 · 696 阅读 · 0 评论 -
Dwr->SendData
DWREngine._sendData 描述了dwr框架如何发送请求,它的调用栈如下:(--〉DWREngine._execute--〉DWREngine.endBatch--〉DWREngine._sendData) /*** @private Actually send the block of data in the batch object.*/ DW原创 2008-02-26 12:10:00 · 826 阅读 · 0 评论