> >
> > Hmm, I agree, but I feel like there is a smell either way. ;-)
> >
> > It seems to me I can either:
> >
> > A) - create a duplicate of the the same registry in my abstract model
> > middleware by using zope.configuration.xmlconfig( same_file_as_bfg ) and
> > then know that any utility/ad
Chris McDonough wrote:
> Iain Duncan wrote:
>> On Sat, 2009-09-26 at 01:42 -0400, Chris McDonough wrote:
>>> Iain Duncan wrote:
>> If I could get the 'one-registry-to-rule-them-all' loaded in middelware
>> on ingress, is there at least a reasonable way of forcing the bgf app to
>> use t
Iain Duncan wrote:
> On Sat, 2009-09-26 at 01:42 -0400, Chris McDonough wrote:
>> Iain Duncan wrote:
> If I could get the 'one-registry-to-rule-them-all' loaded in middelware
> on ingress, is there at least a reasonable way of forcing the bgf app to
> use that registry as it's site mana
On Sat, 2009-09-26 at 01:42 -0400, Chris McDonough wrote:
> Iain Duncan wrote:
> >>> If I could get the 'one-registry-to-rule-them-all' loaded in middelware
> >>> on ingress, is there at least a reasonable way of forcing the bgf app to
> >>> use that registry as it's site manager?
> >> Nope. BFG
Iain Duncan wrote:
>>> If I could get the 'one-registry-to-rule-them-all' loaded in middelware
>>> on ingress, is there at least a reasonable way of forcing the bgf app to
>>> use that registry as it's site manager?
>> Nope. BFG hooks this "hookable" thing when it loads a ZCML file to put it
>>
> > If I could get the 'one-registry-to-rule-them-all' loaded in middelware
> > on ingress, is there at least a reasonable way of forcing the bgf app to
> > use that registry as it's site manager?
>
> Nope. BFG hooks this "hookable" thing when it loads a ZCML file to put it in
> its own regist
Iain Duncan wrote:
> On Sat, 2009-09-26 at 01:04 -0400, Chris McDonough wrote:
>> Iain Duncan wrote:
>>> Ok, so I figured out that if I get the zope.component.globalSiteManager
>>> in my model middleware on ingress, that in bfg I can indeed query it for
>>> registered adapaters and get at that. But
On Sat, 2009-09-26 at 01:04 -0400, Chris McDonough wrote:
> Iain Duncan wrote:
> > Ok, so I figured out that if I get the zope.component.globalSiteManager
> > in my model middleware on ingress, that in bfg I can indeed query it for
> > registered adapaters and get at that. But in the bfg app, the g
Iain Duncan wrote:
> Ok, so I figured out that if I get the zope.component.globalSiteManager
> in my model middleware on ingress, that in bfg I can indeed query it for
> registered adapaters and get at that. But in the bfg app, the global
> site manager is empty and the siteManager has the stuff fr
Iain Duncan wrote:
> Hi folks, I'm working on breaking out a project into bits, including
> some in bfg, some in pylons, and an abstract model that lives in it's
> own middleware. What I want to have happen is for all parts to share one
> zca registry, but my experiments so far are turning up naug
Ok, so I figured out that if I get the zope.component.globalSiteManager
in my model middleware on ingress, that in bfg I can indeed query it for
registered adapaters and get at that. But in the bfg app, the global
site manager is empty and the siteManager has the stuff from my zcml
file.
So, I thi
george hu wrote:
> It seems a big impact if I change the segment replacement marker,
> because it is like a global variable name which is "hard referenced"
> every where, so if I change ":pagename" to ":pagename1" I need to
> change every pagename in views.py, for example,
>
> view_url=route_url(
On Fri, 2009-09-25 at 20:51 -0700, Iain Duncan wrote:
> Hi folks, I'm working on breaking out a project into bits, including
> some in bfg, some in pylons, and an abstract model that lives in it's
> own middleware. What I want to have happen is for all parts to share one
> zca registry, but my expe
Hi folks, I'm working on breaking out a project into bits, including
some in bfg, some in pylons, and an abstract model that lives in it's
own middleware. What I want to have happen is for all parts to share one
zca registry, but my experiments so far are turning up naught. Some
questions:
- how w
It seems a big impact if I change the segment replacement marker,
because it is like a global variable name which is "hard referenced"
every where, so if I change ":pagename" to ":pagename1" I need to
change every pagename in views.py, for example,
view_url=route_url("view_page",request,pagename1
2009/9/26 Iain Duncan :
> Sorry if this is the wrong place to ask this, if it is, please let me
> know where I should. Wondering if anyone can tell me what is necessary
> to display html coming from template variables with chameleon.genshi? IE
> what would have been ${HTML(var_with_html)} in genshi
Sorry if this is the wrong place to ask this, if it is, please let me
know where I should. Wondering if anyone can tell me what is necessary
to display html coming from template variables with chameleon.genshi? IE
what would have been ${HTML(var_with_html)} in genshi.
thanks!
Iain
___
17 matches
Mail list logo