[Grok-dev] generic directoryresource in grokcore.view

Kevin Teague kevin at bud.ca
Thu Oct 16 14:06:34 EDT 2008

Hmm, is there an easy way to use page templates located in
DirectoryResources using grok.PageTemplate? Or is this something that
could be added?

For example, I have a 'resources' DirectoryResource with a template
named 'my_custom_edit.pt', then in an edit form I want to write:

class Edit(grok.EditForm):
    ... regular form stuff ...
    template = grok.PageTemplate(???) # I want to use the '/@@/
resources/my_custom_edit.pt' template here

More information about the Grok-dev mailing list