Base class for assignments.
Your type may override the ‘title’, ‘available’ and ‘data’ properties, and may
Base class for portlet renderers.
You must override render() to return a string to render. One way of doing this is to write:
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile ... render = ViewPageTemplateFile(‘mytemplate.pt’)
This will render the template mytemplate.pt, found in the same directory as your source code file.