Użytkownik Emanuele Gesuato napisał: > Thanks, i solved. > > Now the application starts but if i write something in the textboxes i > get the errors: > > Dabo Error Log: Sun Jan 10 15:13:54 2010: Could not bind to > 'articoli.descrizione' > Reason: 'NoneType' object has no attribute 'descrizione' > Dabo Error Log: Sun Jan 10 15:13:55 2010: Could not bind to > 'articoli.descrizione' > Reason: 'NoneType' object has no attribute 'descrizione' > Dabo Error Log: Sun Jan 10 15:13:55 2010: Could not bind to > 'articoli.descrizionebreve' > Reason: 'NoneType' object has no attribute 'descrizionebreve' > > > It seems that datasource and datafield aren't properly initialized but > the dGrid shows the correct data. > > The dPanel is changed as shown here: > http://pastebin.com/m151a469f > > Before that the dPanel was a dForm and it worked correctly (with basic > changes). >
I can't see dGrid.DataSource attribute is set, and most important, you should call self.createBizobjs() (don't use callAfter()) before initializing UI controls, I mean at the beginning of afterInit() method. -- Regards Jacek Kałucki _______________________________________________ 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]
