站内搜索: 请输入搜索关键词

当前页面: 开发资料首页业界新闻AjaxAnywhere 1.0 tag library released

AjaxAnywhere 1.0 tag library released

摘要: AjaxAnywhere, 是能够把任何一套现存的JSP组件转换成AJAX感知组件而不需要复杂的JavaScript编码.它利用标签把Web页面简单地划分成几个区域,然后使用AjaxAnywhere来刷新那些需要被更新地区域.
AjaxAnywhere, 是能够把任何一套现存的JSP组件转换成AJAX感知组件而不需要复杂的JavaScript编码.它利用标签把Web页面简单地划分成几个区域,然后使用AjaxAnywhere来刷新那些需要被更新地区域.

AjaxAnywhere 并不需要改变基本得代码. 相对来说, 比较容易实现. 并且并没有把你的程序和AJAX绑定到一起. 即使是一些不支持AJAX的浏览器,也还可以正常地工作.

官方网站提到:

 1. Mark "reload-capable" zones of a web page with AjaxAnywhere custom tags.
2. Instead of submitting a form in traditional way, do it by AjaxAnywhere javascript API.
3. During request processing on the server-side, determine the zones to refresh. (You can implement this logic either on the client-side via JavaScript or on the server-side, via AjaxAnywhere API.)
4. On the server-side AjaxAnywhere will generate an XML containing only the "updated" HTML.
5. On the client-side AjaxAnywhere javascript will receive the XML, parse it and update the selected zones.


有兴趣的, 可以上官方网站看看详细资料,并且有一些demo可以看到哦..

官方站点: http://ajaxanywhere.sourceforge.net/index.html
↑返回目录
前一篇: Jencks 1.0 Released: 基于Spring的消息驱动POJOs
后一篇: Sun财年最后一个季度收入继续下降,业绩与分析家预测一致