Hi Frank, I guess I have just seen more Utilities named this way than
not - so just confirming things for myself. I am also using zapi all
over the place. Perhaps I should stop... I am not seeing deprecation
warnings yet. Many thanks.
Regards
David
FB wrote:
Hi,
On Thu, Nov 16, 2006 at 04:0
Le vendredi 17 novembre 2006 à 11:48 +0100, FB a écrit :
> PS: I know, zapi is deprecated - but it's so convenient :-) ...
???
What ? Why is zapi going to be deprecated ?? I didn't know that and I
agree with you that it is VERY convenient and usefull, even if it's
"just" a set of shortcuts to
Hi,
On Thu, Nov 16, 2006 at 04:09:52PM -0400, David Pratt wrote: Probably should
> have clarified - I am referring to Utility container names not anything to
> do with Python coding standards.
None that I'm aware of. Only the title of the utility's registration matters
for your application - whic
Probably should have clarified - I am referring to Utility container
names not anything to do with Python coding standards.
David Pratt wrote:
Just a simple question of style for naming utilities. I don't like caps
in urls. Is there a general convention of using CamelCase for utility
names or
Just a simple question of style for naming utilities. I don't like caps
in urls. Is there a general convention of using CamelCase for utility
names or is it just my imagination. Should I use what I prefer? Would
just like to know what others do. Thanks
Regards,
David
__
Thanks! That's it exactly! I was misunderstanding the concept of a
utility with the name ''.
On Mon, 2006-06-05 at 17:34 +0300, Albertas Agejevas wrote:
> On Mon, Jun 05, 2006 at 09:22:13AM -0500, David Johnson wrote:
> >
> > > getUtility does not require a name.
> >
> > I've tried getUtili
> getUtility does not require a name.
I've tried getUtility() without a name it never returns an interface and
returns component lookup error. I've tried in many different instances,
and I've ended up reverting as a work around to
getAllRegisteredUtilitiesFor(), which works just fine. Once I ad
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(ISomethin
Am Montag, 5. Juni 2006 08:14 schrieb David Johnson:
> 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). zapi.getAllRegisiteredUtilitiesFor() works but it
> seems to me if you have lots of
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). zapi.getAllRegisiteredUtilitiesFor() works but it
seems to me if you have lots of utilities in other contexts, it would
query those as well, a
On Tuesday 11 April 2006 06:59, Reinhold Strobl wrote:
> I have got a question on security:
> utitlities and adapters only have a simple security attribute (=permission)
> in the configuration directive, that means, I can't specifiy settings on
> attributes like with content components.
>
> But now
Hi,
I have got a question on security:
utitlities and adapters only have a simple security attribute (=permission) in
the configuration directive, that means, I can't specifiy settings on attributes
like with content components.
But now what about access, if I have got the needed permission, can
12 matches
Mail list logo