[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: [DataBinding] Displaying Validation Errors

You would have to write a converter to convert an IStatus.class to a String.class. Or you can update your code as I fixed this today[1]. The default behavior now is that if an IStatus is being converted to a String the message of the status is used and not the toString().

-brad

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=182780

awacs wrote:
Hi, I ran into some problem displaying the validation message only.

Hence I am pretty new to JFace Databinding I don't really know where to start. I checked the example004, the binding as well as the validation (simple string length validator) works. The only thing I am not able to accomplish is to display the validation error message only (instead of the whole Status). Any Ideas?

Very kind regards awacs.