[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: [DataBinding] hibernate+spring+eclipse+databinding, viewing validation errors similar to ProblemView in the ide - design help needed

Good question. The data binding code has validation mechanisms built in so I was looking for the corresponding best practice way to manage the messages coming back and provide feedback to the user. jgoodies has some integrated viewer factory capabilities in its validation library (jgoodies split databinding and validation into libs though).

I want to get the data binding errors into the ProblemView. I am hoping someone has done that already and can provide hints or perhaps there is a better eclipse way of providing error feedback of this sort.



Brad Reynolds wrote:
You list [DataBinding] in the subject line but I'm not sure you're question is in reference to data binding. Do you have a question specific to data binding or is it more in general how would you integrate it? It sounds like you have the change events to provide notifications of changes in errors. If looking for a way to aggregate the errors from multiple DataBindingContexts you could use UnionSet. You could then use that set as the input for a viewer.

-brad