Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
plone.app.workflow.browser.kss_sharing.KSSSharingView Class Reference
Inheritance diagram for plone.app.workflow.browser.kss_sharing.KSSSharingView:
Inheritance graph
[legend]
Collaboration diagram for plone.app.workflow.browser.kss_sharing.KSSSharingView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def updateSharingInfo

Static Public Attributes

tuple template = ViewPageTemplateFile('sharing.pt')
tuple macro_wrapper = ViewPageTemplateFile('macro_wrapper.pt')

Detailed Description

KSS view for sharing page.

Definition at line 10 of file kss_sharing.py.


Member Function Documentation

Definition at line 18 of file kss_sharing.py.

00018 
00019     def updateSharingInfo(self, search_term=''):
00020         sharing = getMultiAdapter((self.context, self.request,), name="sharing")
00021     
00022         # get the html from a macro
00023         ksscore = self.getCommandSet('core')
00024 
00025         the_id = 'user-group-sharing'
00026         macro = self.template.macros[the_id]
00027         res = self.macro_wrapper(the_macro=macro, instance=self.context, view=sharing)
00028         ksscore.replaceHTML(ksscore.getHtmlIdSelector(the_id), res)
00029 
00030         return self.render()
00031 

Member Data Documentation

tuple plone.app.workflow.browser.kss_sharing.KSSSharingView.macro_wrapper = ViewPageTemplateFile('macro_wrapper.pt') [static]

Definition at line 16 of file kss_sharing.py.

tuple plone.app.workflow.browser.kss_sharing.KSSSharingView.template = ViewPageTemplateFile('sharing.pt') [static]

Definition at line 15 of file kss_sharing.py.


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