[Zope3-Users] objectwidget help

Tom Gross tom at lalisio.com
Wed Jan 31 11:59:50 EST 2007


Hi Ivan,

    did you get the code from the repository? It's:

svn checkout http://zope3demos.googlecode.com/svn/trunk/ zope3demos

Cheers
-Tom

Ivan Horvath wrote:
> thank you Tom!
> i downloaded, but unfortunately i cannot see it in my browser.
> what is the url for the otherdemos objectsofobject2 package?
>
> Tom Gross wrote:
>> Hi Ivan,
>>
>>    I might be wrong, but I think there's an example for listwidgets 
>> containing objects in the zope3demos-package:
>>
>> http://code.google.com/p/zope3demos/
>>
>> Maybe it helps.
>>
>> Cheers
>> -Tom
>>
>> Ivan Horvath wrote:
>>> 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