#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: |
Description
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)
Change History (4)
Changed 11 years ago by
Attachment: | Service.js.patch added |
---|
comment:1 Changed 11 years ago by
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 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|
bulk update: bugs fixed in past few months, presumably milestone is 1.6
patch to dojox.rpc.Service.js