Hi guys,
I have a data source for crud operations. I am overriding the DMI operation in order to use my legacy code in a migration. So, I would like to implement a server-side validation to prevent that the user try to insert a new row with a wrong combination of two fields. Then I plan before saving to verify in the database whether that combination of fields is correct. I will implement a method that shall return a boolean value. How can I implement this validation? Is there a feature of SmartGWT that should employed here, or may I do it via a simple DMI call?
Thanks in advance.
Vitor Eduardo
I have a data source for crud operations. I am overriding the DMI operation in order to use my legacy code in a migration. So, I would like to implement a server-side validation to prevent that the user try to insert a new row with a wrong combination of two fields. Then I plan before saving to verify in the database whether that combination of fields is correct. I will implement a method that shall return a boolean value. How can I implement this validation? Is there a feature of SmartGWT that should employed here, or may I do it via a simple DMI call?
Thanks in advance.
Vitor Eduardo
Comment