Back to index
Return a list of portlets to display that is a subset of the list of portlets passed in. The list contains dicts as returned by IPortletRetriever.getPortlets().
Get a list of portlets that will be shown. Returns a list of dicts with keys corresponding to that returned by IPortletRetriever.getPortlets(), with the additional key 'renderer' containing the appropriate IPortletRenderer.
00308 00309 def portletsToShow(): 00310 """Get a list of portlets that will be shown. 00311 00312 Returns a list of dicts with keys corresponding to that returned by 00313 IPortletRetriever.getPortlets(), with the additional key 'renderer' 00314 containing the appropriate IPortletRenderer. 00315 """
Render a portlet in such a way that exceptions are not raised but rather logged and an error is shown in place of the portlet.
Attribute( """A page template object to render the manager with.If given, this will be passed an option 'portlets' that is a list ofthe IPortletRenderer objects to render.If not set, the renderers will simply be called one by one, and theiroutput will be concatenated, separated by newlines.""")
A content provider for rendering a portlet manager.