How does one go about accessing field in validateRecord?
I have self.addField("common") in the bizobj.
I thought 
def validateRecord(self):
                        """Returning anything other than an empty string from
                        this method will prevent the data from being saved.
                        """
                        if len(self.common) == 0:
                                ret = 'No empty strings'
                        else:
                                ret = ""
                        # Add your business rules here. 
                        return ret
would handle it. However I get error message: AttributeError: 
'Publicplant1Bizobj' object has no attribute 'common'

Thanks,
--
Adrian Klaver
[EMAIL PROTECTED]


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to