Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.kss.commands.portlets.KSSPortletCommands Class Reference
Inheritance diagram for plone.app.kss.commands.portlets.KSSPortletCommands:
Inheritance graph
[legend]
Collaboration diagram for plone.app.kss.commands.portlets.KSSPortletCommands:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def reload_classic_portlet
def getCommandSet

Public Attributes

 view
 context
 request
 commands

Detailed Description

Definition at line 13 of file portlets.py.


Member Function Documentation

def kss.core.kssview.CommandSet.getCommandSet (   self,
  name 
) [inherited]

Definition at line 180 of file kssview.py.

00180 
00181     def getCommandSet(self, name):
00182         return self.view.getCommandSet(name)
00183 
# BBB deprecated
def plone.app.kss.commands.portlets.KSSPortletCommands.reload_classic_portlet (   self,
  css_selector,
  column,
  template,
  portlet_macro = 'portlet' 
)

Definition at line 19 of file portlets.py.

00019 
00020                                template, portlet_macro='portlet'):
00021         context = self.context
00022         request = self.request
00023         view = self.view
00024         manager = component.getUtility(
00025             IPortletManager, name=column, context=context)
00026         assignment = Assignment(
00027             template=template, macro=portlet_macro)
00028 
00029         portlet = component.getMultiAdapter(
00030             (context, request, view, manager, assignment), IPortletRenderer)
00031         portlet = portlet.__of__(context)
00032 
00033         view.getCommandSet('core').replaceInnerHTML(css_selector, portlet.render())

Member Data Documentation

Definition at line 178 of file kssview.py.

Definition at line 176 of file kssview.py.

Definition at line 177 of file kssview.py.

Definition at line 175 of file kssview.py.


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