[Grok-dev] Recipe for "egg-like" reuse?
Sebastian Ware
sebastian at urbantalk.se
Tue Apr 8 12:33:21 EDT 2008
8 apr 2008 kl. 17.33 skrev Uli Fouquet:
> If you want your AddApp to be registered completely, edit buildout.cfg
> and register your additional app in the [app] section::
I have come to the point where I can create an instance of my
MasterApp in the grok admin interface. However, the application won't
find the views I have in my AddApp, eventhough the application class
of MasterApp has inherited from a class of AddApp for which these
views should be registered (through grok.context).
MasterApp:
class Navicast(grok.Application, ProtonCMS):
[snip]
AddApp:
class ProtonCMS(grok.Container):
[snip]
class Edit(grok.EditForm, protonbase.ProtonEdit):
grok.context(ProtonCMS)
[snip]
And I would expect to be able to access the edit view through:
http://localhost:8080/application/edit
But I get a "The page that you are trying to access is not available"
Mvh Sebastian
More information about the Grok-dev
mailing list