On 2/10/11 8:38 AM, Ricardo Aráoz wrote:
> In my Bizobj I define a DataStructure ( in the initProperties() method)
> in which a couple of fields have field_alias different from the
> field_name. The question is, when calling addField() in the afterInit()
> method, should I reference the field_alias name or the field_name?

You need to include both the alias and the field name. You can call addField() 
in the 
"old" style:

self.addField("customers.name as cust_name")

or in the new style:

self.addField("customers.name", "cust_name")

Paul
_______________________________________________
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/[email protected]

Reply via email to