Announcement

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

    UGLY typo in Javadoc for Velocity

    Hi Isomorphic,

    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
    should be
    Code:
    $dataSource.fetchById($record.primaryKeyField).otherFieldName
    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

    #2
    Thanks for pointing this out and sorry you blew time on it, this has been fixed for 3.1d builds.

    Comment

    Working...
    X