I am currently testing SmartClient included in SmartGWT 2.0 with the FF 3.6.13.
I've noticed that RadioGroupItem sends the same request parameter twice on DynamicForm.submit().
After I selected USA and pressed "Submit" I got
rdgCountry=usa&rdgCountry=usa in the content of the request
I've noticed that RadioGroupItem sends the same request parameter twice on DynamicForm.submit().
After I selected USA and pressed "Submit" I got
rdgCountry=usa&rdgCountry=usa in the content of the request
Code:
isc.DynamicForm.create( {
canSubmit : true,
action : "PrintParamsServlet",
method : "POST",
items : [ {
name : "rdgCountry",
type : "radioGroup",
valueMap : {
usa : "USA",
poland : "Poland",
germany : "Germany"
}
}, {
name : "btnSubmit",
type : "submit",
onclick : function(form, item) {
form.submit();
}
} ]
});
Comment