[Grok-dev] generic directoryresource in grokcore.view
janwijbrand at gmail.com
Thu Oct 16 02:32:59 EDT 2008
Kevin Teague wrote:
> On Oct 10, 1:09 am, "Jan-Wijbrand Kolman" <janwijbr... at gmail.com>
>> sometimes you expect the "static" thing to point to a particular
>> directory of resources where it cannot find it. This is not really to
>> do with skinning, but with, for example, having a layout macro defined
>> in one package being used by templates in another package. Where the
>> layout macro then finds its resources can be confusing.
> Well, I just found myself faced with same problem (and started
> creating an icky workaround this morning until I realized that this
> thread was about the problem I was trying to solve ...). So I'll at
> least find this will be useful :)
> Is there plans to make this available as part of the grok API, e.g.
Yes it is. After releasing grokcore.view (I'm on that right now), I'll
update the grok trunk to expose this feature.
Note: for your own applications you could already require the newer
version of grokcore.view (once released) and import DiretoryResource
from there for the time being.
More information about the Grok-dev