[Zope3-Users] custom widgets (IDisplayWidget)
hassan at isi.imi.i.u-tokyo.ac.jp
Fri Nov 24 14:17:24 EST 2006
I have a custom widget and I cannot manage to have a custom way of
displaying it after editing.
as far as I know, I should be registering the view for
form.interfaces.IDisplayWidget(for display) and
I use the following zcml lines:
not the first statement is applied and I can get my custom-rendered
widget at the time of editing or adding an object. but the display of
the schema is not changed at all by the second zcml code.
later, I notices that in zope.app.schema package, there are some default
Display classes for zope3 default widgets like URI that apparently set
the tell zope to display a URI widget inside <a></a> tags but It when I
try URI it does not appear like that (it is treated exactly like
I am quite confused here... any thing I am missing???
Thanks a lot for any help
More information about the Zope3-users