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?
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
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
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
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
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
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
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
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
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
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"
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
12 matches
Mail list logo