Back to index

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

List of all members.

Public Member Functions

def save

Detailed Description

Definition at line 7 of file kupu.py.


Member Function Documentation

def plone.app.kss.kupu.KupuSaveView.save (   self,
  text,
  fieldname 
)

Definition at line 16 of file kupu.py.

00016 
00017     def save(self, text, fieldname):
00018         "In-place saving of kupu text area's."
00019         corecommands = self.getCommandSet('core')
00020         self.context.getField(fieldname).set(self.context, text, mimetype='text/html')
00021         
00022         selector = corecommands.getCssSelector('body')
00023         corecommands.insertHTMLAsLastChild(
00024             selector, '<div class="kupu-save-message">Document saved</div>')

Here is the call graph for this function:

Here is the caller graph for this function:


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