[Grok-dev] generic directoryresource in grokcore.view

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Oct 13 16:16:28 EDT 2008

Jan-Wijbrand Kolman wrote:
> Grok views by default have access to a "static" directory for resources.
> They're a special kind of the more general DirectoryResource feature of
> Zope.
> Since the resource "static" is always registered for the IDefaultBrowser
> layer and I wanted to be able to skin resources too (in some case
> leading to hard to debug error messages) I thought it would be nice to
> have the more generic DirectoryResource feature available in Grok too.
> I'm working on implementing the more general 'DirectoryResource' on a
> branch of grokcore.view:
> http://svn.zope.org/grokcore.view/branches/jw-generic_directory_resource/
> I still need to add functional tests though, esp. concerning skinning.
> Questions:
> 1) Do people feel this is useful to intergrate in grokcore.view?
> 2) Could someone have a quick look at the implementation?

I have finished this feaure and I'm ready to merge. If there's any
interest in it of course.

For your reviewing-convenience I pasted the diff between the trunk and
the branch here:


kind regards,

More information about the Grok-dev mailing list