- Using a dialog on the new UI framework of 6.2.x
- Using a 'label' for the dialog's form, as it was there before and still should be:
The label property is ignored, the dialog opens with an i18n key:
Using this code:
Because the Bean does not contain a label property:
Here the bean-minor-problem report form defintion app:
If you create a 'textImage' or a 'teaser' component, the dialog has a Title -> it inherits it form the MTK's i18n message bundle.
This is very confusing, as one thinks it uses the label, until you try to change it. Or create another dialog and then you have suddenly a key and not the label in use.
The bad thing besides the confusion of this is, that one does not see the i18n key the system expects.
This is really bad as one can not create a dialog and set a label, one MUST generate i18n files even when using only one language.
Imagine a beginner starting to work with magnolia, but not knowing anything yet about the i18n system.
Or when migrating form old to new dialogs (as it was the case in my training material), soddenly no label is used anymore.