[Grok-dev] generic directoryresource in grokcore.view
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
> 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:
> I still need to add functional tests though, esp. concerning skinning.
> 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:
More information about the Grok-dev