Back to index

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

List of all members.

Public Member Functions

def refreshContentMenu

Detailed Description

Refresh a viewlet

Definition at line 10 of file refreshContentMenu.py.


Member Function Documentation

Definition at line 17 of file refreshContentMenu.py.

00017 
00018     def refreshContentMenu(self, id, name):
00019         alsoProvides(self.view, IViewView)
00020         contentMenu = getMultiAdapter((self.context, self.request, self.view), 
00021                                       IContentProvider, name=name)
00022         renderer = contentMenu.__of__(self.context)
00023         renderer.update()
00024         result = renderer.render()
00025         ksscore = self.getCommandSet('core')
00026         ksscore.replaceHTML(ksscore.getHtmlIdSelector(id), result)
00027 
00028 

Here is the call graph for this function:


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