Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
plone.app.portlets.portlets.base.DeferredRenderer Class Reference
Inheritance diagram for plone.app.portlets.portlets.base.DeferredRenderer:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.portlets.base.DeferredRenderer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def render_full
def render
def update
def available

Public Attributes

 context
 request
 view
 manager
 data

Static Public Attributes

tuple render_preload = ViewPageTemplateFile('deferred_portlet.pt')

Detailed Description

provide defer functionality via KSS

in here don't override render() but instead override render_full

Definition at line 95 of file base.py.


Member Function Documentation

render the portlet

the template gets choosen depending on the initialize state

Reimplemented from plone.app.portlets.portlets.base.Renderer.

Definition at line 109 of file base.py.

00109 
00110     def render(self):
00111         """render the portlet
00112 
00113         the template gets choosen depending on the initialize state
00114         """
00115         if self.initializing:
00116             return self.render_preload()
00117         else:
00118             return self.render_full()
00119 

Here is the call graph for this function:

Definition at line 106 of file base.py.

00106 
00107     def render_full(self):
00108         raise NotImplemented, "You must implement 'render_full' as a method or page template file attribute"

Here is the caller graph for this function:


Member Data Documentation

Reimplemented in plone.app.portlets.portlets.classic.Renderer.

Definition at line 75 of file base.py.

Reimplemented in plone.app.portlets.portlets.classic.Renderer.

Definition at line 80 of file base.py.

Definition at line 79 of file base.py.

tuple plone.app.portlets.portlets.base.DeferredRenderer.render_preload = ViewPageTemplateFile('deferred_portlet.pt') [static]

Definition at line 104 of file base.py.

Definition at line 76 of file base.py.

Definition at line 77 of file base.py.


The documentation for this class was generated from the following file: