sapphire wizard displaying initial error message [message #1115338] |
Tue, 24 September 2013 01:51 |
Greg Amerson Messages: 119 Registered: March 2010 |
Senior Member |
|
|
Hey guys,
I'm working with SapphireWizard and I'm trying to reproduce the common Eclipse behavior where a missing field that normally would show an error doesn't display the error on when first entering a wizard. For instance, the New Java Project wizard, the project name is required but when you first enter the wizard, there is no red error validation at the top, only after you have started to interact with wizard will you receive the validation.
In my case I'm working with a new project wizard that will use sapphire and the first property is 'projectName', and since it is obviously a '@Required' field, the sapphire wizard is showing this error message on first display of the wizard page.
If you look at the DataModelWizardPage, they have this method called showValidationErrorsOnEnter() that subclasses can override. Is there currently a way to reproduce this behavior with SapphireWizard? If not, could it be added?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02993 seconds