Re: [Zope3-Users] Utilities

2006-06-05 Thread Albertas Agejevas
On Mon, Jun 05, 2006 at 01:14:58AM -0500, David Johnson wrote: What is the best to find the nearest utility without using a name? zapi.getUtility() seems to require a name (though the documentation implies otherwise). The default name is ''. If you're asking for z.c.getUtility(ISomething),

Re: [Zope3-Users] PAU newbie: registering a pluggable authenticator

2006-07-11 Thread Albertas Agejevas
On Tue, Jul 11, 2006 at 06:43:12PM +, eleanor weavers wrote: I have followed the examples in the app/authentication README to create a credentials plugin, authenticator plugin etc., what I want to do now is register the plugins using zcml. I have tried using the the utility tag in the

Re: [Zope3-Users] PAU newbie: registering a pluggable authenticator

2006-07-12 Thread Albertas Agejevas
On Wed, Jul 12, 2006 at 07:57:57AM +, eleanor weavers wrote: The pluggable authentication utility is a local utility. You'll need to go to the site management interface, create and register an instance of PluggableAuthenticationUtility, and then enable your plugin in this utility's

Re: [Zope3-Users] Newbie relationship question

2006-07-26 Thread Albertas Agejevas
On Wed, Jul 26, 2006 at 06:33:50PM +0200, Carlo Cardelli wrote: class IInvoice(Interface): invRef = Int( title=uRef.no, description=uInvoice reference number, min=1, required=True ) invDate = Date( title=uDate,

Re: [Zope3-Users] Re: Total n00b to zope3 and apache.

2006-07-29 Thread Albertas Agejevas
On Fri, Jul 28, 2006 at 10:57:14AM -0700, Steve Juranich wrote: NameVirtualHost localhost:8000 VirtualHost localhost:8000 Servername localhost ErrorLog var/apache2/log/zope.log CustomLog var/apache2/log/zope.log common RewriteEngine On RewriteLog

Re: [Zope3-Users] Zope 3 SSL

2006-08-23 Thread Albertas Agejevas
On Wed, Aug 23, 2006 at 07:57:27PM +, Stéphane Brault wrote: Hi, I need to run my site with SSL. I don't know how to use SSL with Zope 3 or if I should run zope behind apache 2, and if so how. Any hint ? RTFM: http://dev.zope.org/Zope3/Zope3Book/virtualhosting.html Make Apache

Re: [Zope3-Users] need help on

2006-09-06 Thread Albertas Agejevas
On Wed, Sep 06, 2006 at 01:32:29PM +0400, Denis Shaposhnikov wrote: I'm thinking on how to use Zope3 for my task and need some help. I have a web application which have different look for different users. Every user need to authenticate and have a some type like an Administrator, Operator,

Re: [Zope3-Users] need help on skins

2006-09-06 Thread Albertas Agejevas
On Wed, Sep 06, 2006 at 03:32:45PM +0400, Denis Shaposhnikov wrote: Could somebody explain me how to find such information by myself. The my main problem with Zope3 is that I don't known how Zope is working as whole. I mean, what happend and where. I know about ++apidoc++ but it seems no so

Re: [Zope3-Users] Re: Confused about skinning in Zope3

2006-09-17 Thread Albertas Agejevas
On Sun, Sep 17, 2006 at 10:43:39PM +0200, Luis De la Parra wrote: Philippe Clérié wrote: a) skins are applied globally and not locally to the packages that own them; b) skins are not *picked up* unless directly referenced in the URL. Somehow that does not feel *natural*. Am I

Re: [Zope3-Users] imports cleanup

2007-03-14 Thread Albertas Agejevas
On Thu, Mar 15, 2007 at 01:52:51AM +0100, Christophe Combelles wrote: As I'm experimenting with various components, I'm adding more and more imports in the beginning of the python files, but at the end, most of them are unused. Is there a tool or a method to automatically clean or detect

Re: [Zope3-Users] How to access object generated by outer library in a view

2007-12-28 Thread Albertas Agejevas
On Thu, Dec 27, 2007 at 12:13:40PM +0900, Yosuke Kawasaki wrote: I am a newbie in zope3. I am trying to make a view which shows the result of BLAST sequence aligner using Biopython. When I access the raw data object (generator object) which Bio.NCBIXML returned, zope raises

Re: [Zope3-Users] Weird behaviour of ViewPageTemplateFile()

2008-04-10 Thread Albertas Agejevas
On Thu, Apr 10, 2008 at 03:22:33PM +0200, Martin J. Laubach wrote: That works fine. However, I don't really need pt as instance variable, so I turned it into a local variable: class MyView(BrowserView): def __call__(self): pt = ViewPageTemplateFile('empty.pt')

Re: [Zope3-Users] Weird behaviour of ViewPageTemplateFile()

2008-04-10 Thread Albertas Agejevas
On Thu, Apr 10, 2008 at 04:08:43PM +0200, Martin J.Laubach wrote: Well, it's called a *View*PageTemplate for a reason :-) If the file is really empty and you do not need to pass any arguments to it (view, context, request), use a plain PageTemplateFile No, of course it's not empty

Re: [Zope3-Users] Zope 3 security model

2008-07-02 Thread Albertas Agejevas
On Wed, Jul 02, 2008 at 08:33:12PM +0200, Mattia Belletti wrote: Hi all, I'm a newbie to Zope 3, but I immediatly had very good vibes about it. I started developing a test application. Where I immediatly got some problems was when I had to deal with the security model. I illustrate my