- 博客(0)
- 资源 (8)
- 收藏
- 关注
dwr使用方法,配置
<dwr>
<allow>
<create creator="new" javascript="testClass" >
<include method="testMethod1"/>
</create>
</allow>
</dwr>
<allow>标签中包括可以暴露给javascript访问的东西。
<create>标签中指定javascript中可以访问的java类,并定义DWR应当如何获得要进行远程的类的实例。creator="new"属性指定java类实例的生成方式,new意味着DWR应当调用类的默认构造函数来获得实例,其他的还有spring方式,通过与IOC容器Spring进行集成来获得实例等等。javascript=" testClass "属性指定javascript代码访问对象时使用的名称。
标签指定要公开给javascript的java类名。
<include>标签指定要公开给javascript的方法。不指定的话就公开所有方法。
<exclude>标签指定要防止被访问的方法。
2011-05-24
MySQL5.1中文参考手册CHM.rar
MySQL5.1中文参考手册CHM.rarMySQL5.1中文参考手册CHM.rarMySQL5.1中文参考手册CHM.rarMySQL5.1中文参考手册CHM.rarMySQL5.1中文参考手册CHM.rarMySQL5.1中文参考手册CHM.rar
2011-05-24
jQuery1.2API
jQuery1.2APIjQuery1.2APIjQuery1.2APIjQuery1.2APIjQuery1.2APIjQuery1.2APIjQuery1.2API
2011-05-24
CSS兼容大全IE5,IE5.5,IE6,IE7,Firefox,Opera,Safari等浏览器
CSS Hack兼容大全,令网页能正常显示在IE5,IE5.5,IE6,IE7,Firefox,Opera,Safari等浏览器上
2011-05-24
javascript写的颜色选择器
Farbtastic is a jQuery plug-in that can add one or more color picker widgets into a page. Each widget is then linked to an existing element (e.g. a text field) and will update the element's value when a color is selected.
Farbtastic uses layered transparent PNGs to render a saturation/luminance gradient inside of a hue circle. No Flash or pixel-sized divs are used.
Farbtastic was written by Steven Wittens and is licensed under the GPL.
2010-03-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人