当前位置: 代码迷 >> Web前端 >> DWR RC1 to RC2 的有关问题 XXX are applicable for the passed parameters
  详细解决方案

DWR RC1 to RC2 的有关问题 XXX are applicable for the passed parameters

热度:613   发布时间:2012-09-11 10:49:03.0
DWR RC1 to RC2 的问题 XXX are applicable for the passed parameters.

ERROR Message:?XXX ?are applicable for the passed parameters.

javascript
?
DWRMethods.getStuff(this.currentBusinessId ,this.getStuffCallback);
?
java


public void getStuff(long userId)
{
??? //do stuff
}

?

?

Either of these will work.??

DWRMethods.getStuff(this.currentBusinessId*1,this.getStuffCallback);

DWRMethods.getStuff(parseInt(this.currentBusinessId),this.getStuffCallback);

?

升级还有点问题,回RC1了

还听说DWR有一些性能问题,后面准备不用DWR,使用REST来取代.

?

?

http://dwr.2114559.n2.nabble.com/RC2-td5479910.html

  相关解决方案