[Repoze-dev] unescaping html in chameleon.genshi

2009-09-25 Thread 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. thanks! Iain

Re: [Repoze-dev] getting at the bfg registry programmatically?

2009-09-25 Thread Iain Duncan
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

[Repoze-dev] bfg site manager question ( another one )

2009-09-25 Thread Iain Duncan
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

Re: [Repoze-dev] getting at the bfg registry programmatically?

2009-09-25 Thread Chris McDonough
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 naught.

Re: [Repoze-dev] bfg site manager question ( another one )

2009-09-25 Thread Chris McDonough
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 from

Re: [Repoze-dev] bfg site manager question ( another one )

2009-09-25 Thread Iain Duncan
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 global

Re: [Repoze-dev] bfg site manager question ( another one )

2009-09-25 Thread Chris McDonough
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 in the bfg

Re: [Repoze-dev] bfg site manager question ( another one )

2009-09-25 Thread Iain Duncan
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 registry, and

Re: [Repoze-dev] bfg site manager question ( another one )

2009-09-25 Thread Chris McDonough
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 in its own

Re: [Repoze-dev] bfg site manager question ( another one )

2009-09-25 Thread Iain Duncan
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 hooks this