* [email protected] [2013-04-19 08:33 +0200]:
hi i have been googeling and i cant find any tutorial about how to add a button in my view_form part of a custom module..i wanted to add a button and make it call a method i made every time it is clicked
You must define the button in the __setup__ method and decorate your method with ModelView.button. There are examples in the modules source code. -- Nicolas Évrard B2CK SPRL rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 E-mail/Jabber: [email protected] Website: http://www.b2ck.com/
signature.asc
Description: Digital signature
