Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DMI Validation

    We am using SmartGWT power 2.4

    I created a serverside DMI validation. It presently just returns the condition false and sets the error message.

    On the client side we've defined a form with items which come from the datasource. When we issue a validate the DMI validation is excuted and the error message is displayed on the console. The return from the validate call will always return true. If we issue a saveData on the form the validation is run again and returns errors but the save is allowed to continue.

    I can't seem to get the validation to work so as to prevent the save. I also can't seem to have visibility to the error message from the client.

    I've attached the ds and the DMI.
    Attached Files
    Last edited by Rdamario; 4 Feb 2011, 14:46.
Working...
X