|
|
|
Re: Wrong error message when form is validated [message #1272147 is a reply to message #1271196] |
Mon, 17 March 2014 03:18  |
Eclipse User |
|
|
|
Hello Jeremie
I have something like this in my code:
if (triggerForErrorMessage) {
IProcessingStatus status = new ProcessingStatus("Error message to display", ProcessingStatus.ERROR);
tableRow.getCellForUpdate(table.getColumn().getColumnIndex()).setErrorStatus(status);
}
Tbhe above code works for all other column types than the Boolean one. The problem is that the IValidateContentDescriptor in use allways returns null...
I could problably override this behaviour by replacing some Scout out of the box classes, but if possible I would rather like to avoid that.
I cannot see why the boolean column allways should return null as error status, especially when the API allows you to set an error status. It took me som while to find this out, and it looks like an API inconsistence for me?
|
|
|
Powered by
FUDForum. Page generated in 0.03172 seconds