Paul McNett wrote: > freek verstringe wrote: >> It is attached to a datasource, but how else can I prefill my new Form? >> Any suggestion? > > Don't prefill your new form (ui layer), but prefill your new record in the > bizobj > (biz rule layer).
To do that you would use a default value for your bizobj: class MyBizobj(dabo.biz.dBizobj): def initProperties(self): self.DefaultValues['regprod'] = "ddd" You could also overwrite you bizobjs new() method. Uwe _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/49ef6eef.2030...@googlemail.com