![]() |
|
|
|
|
Change By:
|
Roman Kovařík
(30/Sep/13 3:01 PM)
|
|
Description:
|
The
{{
DialogButtonSet
}}
do not change the saveInfo value of the hidden field which is created if the
{{
ButtonType.Checkbox
}}
is selected.
Code:
{code}
... ... ... // 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);
...
...
{code}
...
Missing the Command:
{{
hiddenValueField.setSaveInfo(control.getSaveInfo());
}}
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------