Zope Zone Navigation
 
Document Actions
  • Print this page
  • Add Bookmarklet

ZOPE 2.10.2 - [ZPT] Add a browser view to a ZPT

Up to General

ZOPE 2.10.2 - [ZPT] Add a browser view to a ZPT

Posted by Sophie Huet at January 30. 2007
I have subclassed the ZopePageTemplate object and I want to add a browser view on it. I linked my ZopePageTemplate Interface to the Browser class in the configure.zcml. This works well with the DTML Method or Document but here, I can't load the view! The content of the zpt is returned, instead of the view content!

Moreover, the "Interfaces" tab of a .zpt in the ZMI returns the .zpt content as well... unlike other objects of the ZMI which returns their list of interfaces.

I don't understand... anyone could help me???
Thanks

Sophie
Powered by Ploneboard
 

Home Discussions General ZOPE 2.10.2 - [ZPT] Add a browser view to a ZPT