AW: [Zope3-dev] Release for Views As Adapters

Jim Fulton jim at zope.com
Tue Sep 28 05:39:48 EDT 2004


dev at projekt01.ch wrote:

...

>>These particular changes are no cause for a new release.
> 
> 
> We use some removed concepts like:
> 
>     _context.action(
>         discriminator = ('view', for_, name, IBrowserRequest, layer),
>         callable = handler,
>         args = (zapi.servicenames.Presentation, 'provideAdapter',
>                 IBrowserRequest, new_class, name, for_, Interface, layer,
>                 _context.info),
>         )

You have your own view directive?

Why?

> Is there a way for to register this views for both version of z3?

You might be able to call the default view directive.  I can't really tell because I
don't know what you're doing.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org



More information about the Zope3-dev mailing list