[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: [Databinding] Problem with AggregateValidationStatus

Kai Schlamp wrote:
The problem is that the handleChange method of that listener is only called once (the first time I type something into one of those text fields), but not later on anymore.
I would have exspected that the handleChange method is called as often as one of the validators validate method is called.


How does the AggregateValidationStatus class work?

My guess is that because you are using MAX_SEVERITY you might not be editing the field that has the current max severity, (i.e. you are editing a field with a lower severity validation status.


That leads me to my next question? I want to listen to whenever a validate method of the above added validator's was called. I need it to setPageComplete of a WizardPage (as all text fields together have an influence on that).

Have you tried WizardPageSupport.create(DataBindingContext, WizardPage)?

Matthew