[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: Re: [Zope-dev] SVN: zope.traversing/trunk/ zcml now only depends on
From: Christian Theune <ct () gocept ! com>
Date: 2009-04-29 6:14:33
Message-ID: 1240985673.23148.1.camel () mindy
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wed, 2009-04-29 at 00:59 +0200, Marius Gedminas wrote:
> On Thu, Apr 23, 2009 at 08:01:36AM +0200, Christian Theune wrote:
> > On Fri, 2009-04-03 at 01:37 +0300, Marius Gedminas wrote:
> > > Incidentally, I've a long-standing wish to be able to register browser
> > > views in ZCML using the adapter directive.
> > >
> > > class MyFineView(BrowserPage):
> > > adapts(IMyContentObject, IBrowserRequest)
> > >
> > > template = ViewPageTemplateFile('my_fine_view.pt')
> > >
> > > def __call__(self):
> > > # update form or whatever
> > > return self.template()
> > >
> > > <adapter name="my_fine_view.html" factory=".mod.MyFineView" />
> > >
> > > Maybe something to look for in Zope 4?
> >
> > How about recording this wish on launchpad?
>
> Sure, go ahead and do it!
Did I miss this thing belonging to April Fool's?
--
Christian Theune · ct@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
["signature.asc" (application/pgp-signature)]
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic