Ed Leafe wrote: > On Dec 2, 2008, at 5:59 PM, johnf wrote: > >> Sure! But a follow up question. How does one use a cdxml file as >> class to be >> used in a hand coded form. For example: > > > It's not that hard: > > from dabo.lib.DesignerXmlConverter import DesignerXmlConverter > conv = DesignerXmlConverter() > # Assuming that 'pth' is the path to the cdxml class > cls = conv.classFromXml(pth) > instance = cls(self, Foo="Bar", ...)
Things like that should be in the howto section of the wiki. I have put the above code example on this page: http://dabodev.com/wiki/HowToUseACdxmlFileInHandCodedForms Uwe _______________________________________________ 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]
