Back to index

plone3  3.1.7
viewlets.py
Go to the documentation of this file.
00001 from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
00002 from plone.app.layout.viewlets.common import ViewletBase
00003 
00004 
00005 class StandardViewlet(ViewletBase):
00006     """ a viewlet class for testing purposes """
00007 
00008     render = ViewPageTemplateFile('standard.pt')
00009 
00010 
00011 class LayerViewlet(ViewletBase):
00012     """ a viewlet class for testing purposes """
00013 
00014     render = ViewPageTemplateFile('local.pt')
00015 
00016