sapphire wizard displaying initial error message [message #1115338] |
Mon, 23 September 2013 21:51  |
Eclipse User |
|
|
|
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?
|
|
|
|
Re: sapphire wizard displaying initial error message [message #1115791 is a reply to message #1115777] |
Tue, 24 September 2013 11:27  |
Eclipse User |
|
|
|
Fair enough on usability point. But for our use-case (new project wizard) we want to match the Eclipse platform default which pretty universally suppresses errors on first enter (e.g. just open any File > new > ... wizard in the platform). However for our adopter product we have a workaround we can apply, so no need to ask for further changes to sapphire. Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03769 seconds