Your editor views should implement HasEditorErrors and then you have access to the errors in your view so you can visualize them. As an example you can take a look at ValueBoxEditorDecorator which can wrap a ValueBox and displays any error for that ValueBox as a Label above the ValueBox.
Not sure about the next thing but I guess driver.hasErrors() only returns true if your Editor view implements HasEditorDelegate and you call delegate.recordError() in your view. You most likely use that if you implement ValueAwareEditor in your view so you can check the view's value when flush() is called. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/c3Zbg733sB8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
