Hi,
I've setup a server side validator like this:
If I add a new record using the grid's addNewRecord() method, giving an already used 'CODE', the validator works as expected and triggers a warning.
My problem is that the displayed warning is not really user friendly (JSON Like display) and I would have expected to just have the custom error message I've configured in the DS.
Is it possible to have this without the need to enable the "willHandleErrors" for every single DSRequest I issue ?
Many Thanks,
Thomas
PS: SmartGwt 4.0p
I've setup a server side validator like this:
Code:
<field name="CODE" type="text" title="$code" escapeHTML="true" required="true"> <validators> <validator type="isUnique" requiresServer="true" errorMessage="This code is already used."/> </validators> </field>
My problem is that the displayed warning is not really user friendly (JSON Like display) and I would have expected to just have the custom error message I've configured in the DS.
Is it possible to have this without the need to enable the "willHandleErrors" for every single DSRequest I issue ?
Many Thanks,
Thomas
PS: SmartGwt 4.0p
Comment