首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

spring 配备 dwr

2012-10-08 
spring 配置 dwr??xml version1.0 encodingUTF-8?!DOCTYPE dwr PUBLIC -//GetAhead Limited//DT

spring 配置 dwr

?

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://getahead.ltd.uk/dwr/dwr20.dtd"><dwr><allow><create javascript="proservice" creator="spring"><param name="beanName" value="prodwrclsss"></param></create></allow></dwr>

?

function updateProState(id,state,obj){   proservice.updateProState(id,state,function back(data){if(state==0)document.getElementById(obj).innerHTML="<span class='STYLE1'>已激活</span> | <a href='javascript:updateProState("+id+","+1+","+obj+")'>  <span class='STYLE2'>屏蔽</span></a>";elsedocument.getElementById(obj).innerHTML="<span class='STYLE1'>已屏蔽</span> | <a href='javascript:updateProState("+id+","+0+","+obj+")'>  <span class='STYLE2'>激活</span></a>";});}

??

?

热点排行