[Zope3-dev] Vocabularies and Widgets

Marcus J. Ertl Marcus J. Ertl" <marcus.ertl@larp-welt.de
Fri, 20 Jun 2003 22:47:45 +0200


Hi!

Is there somewhere an example, how to build a widget for an vocabulary,
and even more needed: how to use this widget?

  <view
      permission=3D"zope.Public"
      type=3D"zope.publisher.interfaces.browser.IBrowserPresentation"
    =20
factory=3D"zope.app.browser.form.vocabularywidget.VocabularyEditWidget"
      name=3D"field-edit-set-widget"
      for=3D".interfaces.ILNDiscussion.ITestVocabulary"
      />

with::

	class ITestVocabulary(IVocabulary):
	    pass

did not work! Why!

Bye
   Marcus

--=20
Der Gourmet :
  Der Gourmet gern Trueffel spei=DFt,
  und nachher wie ein Bueffel schei=DFt.                           EAV

LARP-Welt - Das LARP-Portal im Internet: http://larp-welt.de