[Zope3-Users] objectwidget help

Ivan Horvath i.horvath at alco.co.hu
Wed Jan 31 10:44:14 EST 2007


Dear All,

in my implementation there is an object. one of this object properties 
is a List. containing other objects.

the class which inherits ObjectWidget receives always the same context, 
actually that object which contains the object property.
class MyDispFieldsWidgetDisplay(ObjectWidget):

i cannot find the way how to tell to MyDispFieldsWidgetDisplay object 
which element should read from the List object property
this is my viewclass:
class DKRviewReportView(myBrowserView): - myBrowserView is almost the 
same as the zope BrowserView class
    fields_widget = CustomWidgetFactory(SequenceDisplayTableWidget,
                                       subwidget=MyDispFieldsWidgetDisplay)


-- 

Best Regards,

Iván Horváth
Chief Programmer

Alcatel NSD
PMS 2000 Product Team

H-1116, Budapest
Kondorfa u. 10.
Tel.: +36 1 209 9546
Fax.: +36 1 209 9599
Mobil: +36 30 257 0235
E-mail: i.horvath at alco.co.hu <mailto:i.horvath at alco.co.hu>
Check my Web Page <http://www.freeweb.hu/pillesoft>

/Anyone who has never made a mistake has never tried anything new./

/

/Albert Einstein/

/


More information about the Zope3-users mailing list