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

Dear Brad, thanks for the quick reply and of course the fix!
In which eclipse build will this change be incorporated? Is it already in the 3.3 Stream Nightly Build (N20070418-0010), or do I have to wait for the 3.3M7?


rgds/awacs

Brad Reynolds wrote:
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.