Ok. Thanks Tahara and Philipp. I am using component.provideAdapter.
What I am having trouble with is registering ListSequenceWidget for use
in a doctest.
I believe the matching zcml from zope.form.browser configure is:
My own attempt to register the widget for a doctest is:
>>> zope.
TAHARA Yusei wrote:
At Wed, 06 Sep 2006 09:29:15 +0200,
Philipp von Weitershausen wrote:
TAHARA Yusei wrote:
I think you should use zope.app.testing.ztapi.provideAdapter instead.
No! ztapi.provideAdapter is discouraged. zope.component.provideAdapter
is the recommended spelling.
Oh, sorry. I
At Wed, 06 Sep 2006 09:29:15 +0200,
Philipp von Weitershausen wrote:
>
> TAHARA Yusei wrote:
> > I think you should use zope.app.testing.ztapi.provideAdapter instead.
>
> No! ztapi.provideAdapter is discouraged. zope.component.provideAdapter
> is the recommended spelling.
Oh, sorry. I did not k
TAHARA Yusei wrote:
I think you should use zope.app.testing.ztapi.provideAdapter instead.
No! ztapi.provideAdapter is discouraged. zope.component.provideAdapter
is the recommended spelling.
Philipp
___
Zope3-users mailing list
Zope3-users@zope.org