smartclient 传参

     isc.IButton.create({
                 ID: "upload",
                 width:"120",
                 height:30,
                 title: "上  载",
                 click:function(){
                 var recId = BarcodeHead.getSelectedRecord().recId
	                 RPCManager.sendRequest({
						paramsOnly:true,
						actionURL: "Barcode/uploadppcPickList.action",
						params:{a:recId} // 以对象形式传参
					});
                }
             }),


以对象的形式将参数传递到后台 

你可能感兴趣的:(smartclient 传参)