Le jeudi 11 mars 2010, Albert DURANTON <albert.duranton...@orange.fr> a écrit : ====================================================================== > I learn the paulcarduner/z3ctutorial. > I am the form but when i click add i get:URL: > http://localhost:8080/%2B%2Bskin%2B%2BZContact/%40%40addContact.html > > Module zcontact.browser.contact:14 in create > << > def create(self, data): > contact = Contac() > form.applyChanges(self, contact, data) > return contact>> contact = Contac() > NameError: global name 'Contac' is not defined > > I all verified. > Some can help me ? > Thank you ======================================================================
Hi, Shouldn't you have : contact = Contact() # Missing 't' instead of : contact = Contac() Otherwise it looks like a missing import... Thierry -- Chef de projets intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 Paris Cedex 12 Tél. : 01 40 19 59 64 Fax. : 01 40 19 58 85 Mél. : thierry.flo...@onf.fr Web. : http://www.onf.fr _______________________________________________ Zope3-users mailing list Zope3-users@zope.org https://mail.zope.org/mailman/listinfo/zope3-users