Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Charlie Clark
Am 08.04.2010, 19:33 Uhr, schrieb Iain Duncan : > Cool. that makes sense. So here's a question that didn't seem immediately > obvious from the docs and could possibly be made clearer as a foot note > in > there somewhere ( or maybe I just missed it ), can context be used with > an > interface?

Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Chris McDonough
On 4/8/10 1:55 PM, Chris McDonough wrote: > > Yes, as it says in > http://docs.repoze.org/bfg/1.2/narr/views.html#predicate-arguments > > context > An object representing Python class that the context must be an instance > of, or the interface that the context must provide in order for this > view

Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Chris McDonough
On 4/8/10 1:33 PM, Iain Duncan wrote: > Cool. that makes sense. So here's a question that didn't seem > immediately obvious from the docs and could possibly be made clearer as > a foot note in there somewhere ( or maybe I just missed it ), can > context be used with an interface? Yes, as it says i

Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Iain Duncan
Cool. that makes sense. So here's a question that didn't seem immediately obvious from the docs and could possibly be made clearer as a foot note in there somewhere ( or maybe I just missed it ), can context be used with an interface? I totally understand the motivation to not force people to under

Re: [Repoze-dev] deprecation of zcml for?

2010-04-08 Thread Chris McDonough
On 4/8/10 1:23 AM, Iain Duncan wrote: > Well, now you would have to know what you were looking for, whereas in > the older docs, it was quite prominent in the narrative documentation. I > realize this is a personal preference thing, and of course you'll do > what you think is best, but as someone w

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Iain Duncan
Well, now you would have to know what you were looking for, whereas in the older docs, it was quite prominent in the narrative documentation. I realize this is a personal preference thing, and of course you'll do what you think is best, but as someone who came to repoze.bfg and zope at the same tim

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Chris McDonough
On 4/8/10 12:18 AM, Iain Duncan wrote: > Further to this, I just noticed that the cluegun sample app uses 'for', > so maybe it would also help people checking out the sample apps and the > 1.2 docs if 'for' where mentioned. It is... see the description of "context" within http://docs.repoze.org/b

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Iain Duncan
Further to this, I just noticed that the cluegun sample app uses 'for', so maybe it would also help people checking out the sample apps and the 1.2 docs if 'for' where mentioned. thanks iain On Wed, Apr 7, 2010 at 12:15 PM, Iain Duncan wrote: > > On Wed, Apr 7, 2010 at 6:52 AM, Chris McDonough

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Iain Duncan
On Wed, Apr 7, 2010 at 6:52 AM, Chris McDonough wrote: > On 4/7/10 9:47 AM, Charlie Clark wrote: > > Am 07.04.2010, 15:41 Uhr, schrieb Chris McDonough: > > > >>> I noticed in the 1.2 docs that view configuration in zcml uses the > >>> 'context' predicate instead of the zope 'for' predicate. Just

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Chris McDonough
On 4/7/10 9:47 AM, Charlie Clark wrote: > Am 07.04.2010, 15:41 Uhr, schrieb Chris McDonough: > >>> I noticed in the 1.2 docs that view configuration in zcml uses the >>> 'context' predicate instead of the zope 'for' predicate. Just wanted to >>> know if I can still safely use 'for' or whether new c

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Charlie Clark
Am 07.04.2010, 15:41 Uhr, schrieb Chris McDonough : >> I noticed in the 1.2 docs that view configuration in zcml uses the >> 'context' predicate instead of the zope 'for' predicate. Just wanted to >> know if I can still safely use 'for' or whether new code should switch >> all those. > The "for"

Re: [Repoze-dev] deprecation of zcml for?

2010-04-07 Thread Chris McDonough
Hi Iain, On 4/6/10 9:19 PM, Iain Duncan wrote: > I noticed in the 1.2 docs that view configuration in zcml uses the > 'context' predicate instead of the zope 'for' predicate. Just wanted to > know if I can still safely use 'for' or whether new code should switch > all those. The "for" spelling wi

[Repoze-dev] deprecation of zcml for?

2010-04-06 Thread Iain Duncan
I noticed in the 1.2 docs that view configuration in zcml uses the 'context' predicate instead of the zope 'for' predicate. Just wanted to know if I can still safely use 'for' or whether new code should switch all those. The 1.2 improvements look great btw! thanks iain ___