Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#568 closed defect (fixed)

dojo.io.bind - an array for a parameter in content object should send multiple name-value pairs for the parameter

Reported by: aaronmevans@… Owned by: alex
Priority: high Milestone:
Component: Core Version: 0.2
Keywords: bind Cc: andyhot@…
Blocked By: Blocking:

Description

In my bind arguments, if I define the following for content:

content: { param1: "value1", param2: "value2", param3: ["value3", "value4"]}

there should be *two* name value pairs sent for param3, one for value3 and one for value4.

This is what happens when you have a form with multiple form elements with the same name.

At the moment, a single value for param3 is sent with a literal value of "value3,value4".

Change History (4)

comment:1 Changed 13 years ago by alex

Owner: changed from anonymous to alex
Status: newassigned

comment:2 Changed 13 years ago by anonymous

Cc: andyhot@… added

comment:3 Changed 13 years ago by sjmiles

Resolution: fixed
Status: assignedclosed

Patched in r3426. Trying to take some stuff off Alex's plate. Yell at me if it was inappropriate.

comment:4 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.