Community
Participate
Working Groups
Build Identifier: 20110916-0149 Hi, in case you have databinding support using TitleAreaDialogSupport in an TitleAreaDialog you can face the problem that no correct initial error message will be shown, if there are validation errors. This problem occurs, if the target and model are in sync, in spite of having validation errors. This is caused by the handleUIChangedMethod that only will be called on target changes. Setting the uiChanged field initially to true instead of false should solve this problem. A workaround is to add a dummy binding like this: dbc.bindValue(new WritableValue("test", String.class), new WritableValue()); This forces a call of handleUIChanged() Reproducible: Always Steps to Reproduce: 1. Create TitleAreaDialog with databinding and validators 2. Use TitleEditorDialogSupport
That's the intented behavior; the JavaDoc of the create method in TitleAreaDialogSupport says: ... The page's error message will not be set at time of creation, ensuring that the dialog does not show an error right away. ... This is also consistent to the WizardPageSupport and the DialogPageSupport.