[Zope-CMF] CMF add views and <browser:page />

Charlie Clark charlie at begeistert.org
Sat Dec 13 12:20:03 EST 2008


Am 12.12.2008 um 13:40 schrieb yuppie:

> 'browser:addform' and 'browser:editform' automatically generate forms
> based on a schema. The no longer supported 'browser:addview' directive
> was much closer to the directive Martin proposes. Since this registers
> an adapter that provides IBrowserPage, 'cmf:addpage' might be an
> alternative.


I'd be happy with either cmf:addview or cmf:addpage. There's no way  
around the somewhat counterintuitive fact that the views are  
registered for the containing object type but as long as this is  
explained somewhere then anyone working with this should be okay.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226





More information about the Zope-CMF mailing list