[Checkins] SVN: grok/branches/darrylcousins-branch/src/grok/meta.py
Remade my change to StaticResourcesGrokker that register the
resource on IBrowserRequest rather than IDefaultLayer so that
I can use z3c.layer.IMinimalLayer which does not inherit from
IDefaultBrowserLayer
Darryl Cousins
darryl at darrylcousins.net.nz
Mon Jul 2 22:36:46 EDT 2007
Log message for revision 77323:
Remade my change to StaticResourcesGrokker that register the resource on IBrowserRequest rather than IDefaultLayer so that I can use z3c.layer.IMinimalLayer which does not inherit from IDefaultBrowserLayer
Changed:
U grok/branches/darrylcousins-branch/src/grok/meta.py
-=-
Modified: grok/branches/darrylcousins-branch/src/grok/meta.py
===================================================================
--- grok/branches/darrylcousins-branch/src/grok/meta.py 2007-07-03 02:01:37 UTC (rev 77322)
+++ grok/branches/darrylcousins-branch/src/grok/meta.py 2007-07-03 02:36:45 UTC (rev 77323)
@@ -310,7 +310,7 @@
resource_factory = components.DirectoryResourceFactory(
resource_path, module_info.dotted_name)
component.provideAdapter(
- resource_factory, (IDefaultBrowserLayer,),
+ resource_factory, (IBrowserRequest,),
interface.Interface, name=module_info.dotted_name)
return True
More information about the Checkins
mailing list