Runtime error ("attempt to index field 'view'")

@Danny:

As I said at the end of my previous post, I use version 2013.1031 which is a version just before widget v2.
Actually, I installed a new version with widget v2 but I got many problems like not being able to upgrade my theme file or using widget v1 (changing the required file name to “widget-v1” didn’t work).

I’m still waiting for the famous theming guide for the v2 but it’s not the subject here.
(http://developer.coronalabs.com/forum/2013/02/22/widgetnewbutton-20131034-brakes-build)

Regards
David [import]uid: 223645 topic_id: 33902 reply_id: 145144[/import]