Hi Isomorphic,
please note that in http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/serverds/Validator.html#serverCondition the line
should be
This is correct in the sample http://www.smartclient.com/smartgwte...ation_velocity, but also misspelled in http://forums.smartclient.com/showpo...39&postcount=2
If you use the wrong method, you'll get a "Null reference [template 'CustomValidator'..." log entry.
I hope this message helps someone having the same problem. I was stuck for an hour on this.
Best regards,
Blama
please note that in http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/serverds/Validator.html#serverCondition the line
Code:
$dataSource.findById($record.primaryKeyField).otherFieldName
Code:
$dataSource.fetchById($record.primaryKeyField).otherFieldName
If you use the wrong method, you'll get a "Null reference [template 'CustomValidator'..." log entry.
I hope this message helps someone having the same problem. I was stuck for an hour on this.
Best regards,
Blama
Comment