#1008: How to handcode the layout of attached cdxml?
-------------------------+--------------------------------------------------
  Reporter:  uwe_grauer  |       Owner:  somebody
      Type:  task        |      Status:  new     
  Priority:  minor       |   Milestone:  1.0     
 Component:  demos       |     Version:          
Resolution:              |    Keywords:          
-------------------------+--------------------------------------------------
Comment (by johnf):

 In my MainForm class I have below - should work for you
 def createBizobjs(self):
                 self.Application.addConnectFile("DeanConnection.cnxml")
                 # This call will actually create the connection if it
 hasn't already
                 # been made. If it has, it returns the existing
 connection, so that
                 # multiple connections aren't used up.
                 self.conn =
 self.Application.getConnectionByName("DeanConn")

 Now I can use "self.conn" for my business as in
 publicagpoptrsBizobj = PoBizobj.PublicagpoptrsBizobj(self.conn)
 self.addBizobj(publicagpoptrsBizobj)

-- 
Ticket URL: <http://svn.dabodev.com/trac/dabodemo/ticket/1008#comment:13>
Dabo Demo <http://svn.dabodev.com/trac/dabodemo>
Trac Page for Dabo Demo


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

Reply via email to