[MAGNOLIA-2075] controlType static in dialogs Created: 25/Feb/08 Updated: 23/Jan/13 Resolved: 10/Mar/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | admininterface |
| Affects Version/s: | 3.5.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Patrick Aebischer | Assignee: | Philipp Bärfuss |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
If using the control type static in dialogs the value field does not work with messages_templating_custom.properties. The interesting part of the dialog:
The key 'dialog.data.explanation.value' is defined inside the messages_templating_* file. All the other keys defined in it are working fine. But the value of the above defined control type will just display 'dialog.data.explanation.value' instead of the value of that key. |
| Comments |
| Comment by Philipp Bracher [ 10/Mar/08 ] |
|
It is not foreseen that you can use i18n values in the static control. The dialog only supports this for labels and descriptions. To achieve what you like to do you would create a subclass of the static control info.magnolia.cms.gui.dialog.DialogStatic Hint: the 'type' of any control can be a valid class name |