[the subject has really become: how can a custom widget access content
objects and containers?]
Hi,
I'm trying to model a 1-to-1 relationship in zope3: a Driver class that
contains an instance of a Car class. I model the car as a schema.Object
inside the driver interface:
class
thanks christophe. while looking for an example of how to use
CustomWidgetFactory, i found a comment on the web about formlib
replacing browser:editform/addform (at
http://faassen.n--tree.net/blog/view/weblog/2005/09/06/0) and so i'm now
using the instructions in zope/formlib/form.txt.
hi,
please point me to an example showing how to use ObjectWidget with a
default add form. in case there is no example, perhaps my failing
attempt below could serve as one, once it's modified to work.
# interfaces.py
from zope.interface import
john saponara a écrit :
hi,
please point me to an example showing how to use ObjectWidget with a
default add form. in case there is no example, perhaps my failing
attempt below could serve as one, once it's modified to work.
[...]
ComponentLookupError: ((zope.schema._field.Object object