Back to index

plone3  3.1.7
Public Member Functions
plone.app.kss.commands.refreshViewlet.KSSRefreshViewlet Class Reference
Inheritance diagram for plone.app.kss.commands.refreshViewlet.KSSRefreshViewlet:
Inheritance graph
[legend]
Collaboration diagram for plone.app.kss.commands.refreshViewlet.KSSRefreshViewlet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def refreshViewlet

Detailed Description

Refresh a viewlet

Definition at line 8 of file refreshViewlet.py.


Member Function Documentation

def plone.app.kss.commands.refreshViewlet.KSSRefreshViewlet.refreshViewlet (   self,
  id,
  manager,
  name 
)

Definition at line 15 of file refreshViewlet.py.

00015 
00016     def refreshViewlet(self, id, manager, name):
00017         renderer = getMultiAdapter((self.context, self.request, self.view, manager),
00018                                   IViewlet,
00019                                   name=name)
00020         renderer = renderer.__of__(self.context)
00021         renderer.update()
00022 
00023         result = renderer.render()
00024         ksscore = self.getCommandSet('core')
00025         ksscore.replaceHTML(ksscore.getHtmlIdSelector(id), result)
00026 

Here is the call graph for this function:


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