[Grok-dev] Work on grokcore.view shared_templates_userwarning branch

JanJaap Driessen jdriessen at thehealthagency.com
Thu Aug 6 08:19:00 EDT 2009


2009/8/4 Wichert Akkerman <wichert at wiggy.net>:
> On 8/3/09 18:49 , Vincent Fretin wrote:
>> Hello,
>>
>> I worked on the shared template directory issue on the grokcore.view
>> shared_templates_userwarning branch.
>> Grokkers now use the new template registry, all tests passed.
>>
>> I think I did a ugly hack for UnassociatedTemplatesGrokker in
>> meta/templates.py
>> Actually, the templatereg.check_unassociated action should be registered
>> only once and I don't know how to do that without a global grokker.
>>
>> To Martin Faassen:
>> _annotateGrokInfo is defined in grokcore/view/components.py, it's used
>> to set
>> self.__grok_name__, self.__grok_location_ on the PageTemplate. It's used
>> only in __repr__.
>> I used __grok_location__ to get the template_path of a template. We
>> don't know the extension in the file registry...
>>
>> To Wichert:
>> you can use the same template with several view, there are tests for
>> that case.
>> and https://bugs.launchpad.net/grok/+bug/401726 is fixed AFAICT.
>
> Awesome, thanks! I'll impatiently wait for a grokcore.view release with
> this work :)
>
> Wichert.
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev

Regarding releasing grokcore.view:

Jan-Wijbrand and Reinout, who did the recent releases, are both on
holidays for the next one/two weeks, so don't expect any releasing
from them.

-- 
Jan-Jaap Driessen

email: jdriessen at thehealthagency.com
web: www.thehealthagency.com


More information about the Grok-dev mailing list