customize DialogErrorHandling class [message #995262] |
Sat, 29 December 2012 10:19  |
Eclipse User |
|
|
|
Hello,
I've got a problem using the new error handling in nattable. The default behavior using the DialogErrorHandling is to discard or change a value after validation. But what I need to do is validate the value and then keep or discard it. If the user decides to keep the value, it should be set by the PropertyAccessor class. I've created my own custom DialogErrorHandling class to change the dialog presented to the user and handle the "keep" button pressed behavior. Now to the problem, if the user clicks on "keep" I want to commit the value entered in the cell editor, but if I do so the validator will be fired again and I get the same dialog over and over again. Any suggestions on this?
greetings,
sascha
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10318 seconds