[Zope3-Users] Re: [Zope3-dev] 'standart viweletManger' for web-site

2006-02-19 Thread Garanin Michael
I mistake in my 'stadart views' post. My question is transformed. 'Boston' layer has 'standart' viewlet managers (IHead, ICSS, ILeft, etc.). But 'Boston' layer it's layer for ZMI, and he not include right-side slot. Question: Where layer for web-site (not ZMI)? I offer create 'z3site'-layer and de

RE: [Zope3-Users] Granting Roles - What am I missing?

2006-02-19 Thread David Johnson
> zope/app/rdb/configure.zcml says: > > > permission="zope.ManageContent" > interface="zope.app.rdb.interfaces.IZopeConnection" > /> > > > which includes the cursor method/attribute - perhaps you need a similar > configuration on your class or something like: >

[Zope3-Users] Re: Recipe with default values

2006-02-19 Thread Philipp von Weitershausen
Marco Mariani wrote: > In chapter 5.4 of the cooking book, Philipp says: > >> [...] We could now implement a custom factory, for example one that >> allows us to set initial attribute values of the recipe. (We would >> normally extend the Recipe class with a constructor to do that, but >> let us i

Re: [Zope3-Users] standart views ('slot-box views')

2006-02-19 Thread Garanin Michael
Sorry, i think i mistake in my question. I only want offer rule for develop components: if you develop component for use in web-sites, then develop few 'slot-box views' for easy insert into sites. 'slot-box views' it's little box with standart zope3-css (div.box etc.) Example: 1) I develop 'NewsM

Re: [Zope3-Users] Granting Roles - What am I missing?

2006-02-19 Thread eXt
Dnia sobota 18 lutego 2006 22:52, David Johnson napisał: > I created a package which has views that list information from a SQL > database. It works great. Would you like to put a bit more informations, about your solution, here? I'm going to build SQL DB based application in near future and I th

Re: [Zope3-Users] standart views

2006-02-19 Thread Darryl Cousins
Hi Garanin, No, not quite. Your 'site' I presume has it's own skin. The browser:viewlet zcml directive is a way to plug a 'viewlet' from a package into your skin (using the layer attribute). You are not *overwriting* my viewlet, simply defining where it should appear to the user in their browser.

Re: [Zope3-Users] standart views

2006-02-19 Thread Garanin Michael
For example i want insert yours "tfws_i18ninfo" into 'IRight'-slot of my site ==> i must overwrite yours 'viewlet'-definitions. I think it's not right. В Вск, 19/02/2006 в 19:46 +1300, Darryl Cousins пишет: > Hi Garanin, > > I don't believe such an agreement exists. I am getting used to using > v