Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
4.5
-
None
-
None
Description
The DialogButtonSet do not change the saveInfo value of the hidden field which is created if the ButtonType.Checkbox is selected.
...
...
...
// checkboxSwitch: value is stored in a hidden field (allows default selecting)
String value = this.getValue();
if (StringUtils.isEmpty(value)) {
if (this.getConfigValue("selected").equals("true")) { //$NON-NLS-1$ //$NON-NLS-2$
value = "true"; //$NON-NLS-1$
}
else {
value = "false"; //$NON-NLS-1$
}
}
Hidden hiddenValueField = new Hidden(this.getName(), value);
hiddenValueField.setType(type);
...
Missing the Command: hiddenValueField.setSaveInfo(control.getSaveInfo());
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
MAGNOLIA-5271 "selected" property not working with checkbox control
-
- Closed
-