2007-04-21
Buffalo中提交表单数据
请问在buffalo中如果想提交整个from中的数据,该怎样办?谢谢!
评论
moogle
2007-04-21
http://buffalo.sourceforge.net/howto.html#3
var userObj = Buffalo.Form.formToBean("form1", "net.buffalo.demo.form.User");
buffalo.remoteCall("userService.createUser", [userObj], function(reply){
alert(reply.getResult().username);
})
var userObj = Buffalo.Form.formToBean("form1", "net.buffalo.demo.form.User");
buffalo.remoteCall("userService.createUser", [userObj], function(reply){
alert(reply.getResult().username);
})







评论排行榜