Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#11352 closed enhancement (fixed)

You should be able to supply a parameter name for the json-rpc request object when using GET or JSONP

Reported by: Luis Montes Owned by: Dustin Machi
Priority: high Milestone: 1.6
Component: RPC Version: 1.5.0b2
Keywords: json-rpc jsonp Cc:
Blocked By: Blocking:


Currently the JSONP transport just appends the rpc request object onto the target URL. This makes it difficult to retrieve the object on the target server.

The SMD version 2.0 spec does not list an attribute to use for this parameter, however dojo can still check the SMD object for the presence of an appropriate attribute and use it for a parameter name. If the attribute is not present then the dojox.rpc.Service.js should behave the same as it has been.

Attachments (1)

Service.js.patch (1.3 KB) - added by Luis Montes 12 years ago.
patch to dojox.rpc.Service.js

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Luis Montes

Attachment: Service.js.patch added

patch to dojox.rpc.Service.js

comment:1 Changed 12 years ago by Luis Montes

The patch allows you to add an attribute of "rpcObjectParamName" to an SMD object or one of its service objects and the value will be set at the parameter name to the json-rpc request object.

comment:2 Changed 11 years ago by Dustin Machi

Resolution: fixed
Status: newclosed

(In [23430]) add rpcParamCallbackName. Fixes #11352

comment:3 Changed 11 years ago by bill

Milestone: tbd1.6

bulk update: bugs fixed in past few months, presumably milestone is 1.6

Note: See TracTickets for help on using tickets.