Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Properties
kss.core.kssview.AzaxBaseView Class Reference
Inheritance diagram for kss.core.kssview.AzaxBaseView:
Inheritance graph
Collaboration diagram for kss.core.kssview.AzaxBaseView:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def render
def cancelRedirect
def getCommands
def getCommandSet
def __before_publishing_traverse__
def getSiteManager
def setSiteManager

Public Attributes



 context = property(_get_context, _set_context)

Detailed Description

Definition at line 184 of file

Constructor & Destructor Documentation

def kss.core.kssview.AzaxBaseView.__init__ (   self,

Reimplemented from kss.core.kssview.KSSView.

Definition at line 185 of file

00186     def __init__(self, *args, **kw):
00187         message = "'AzaxBaseView' is deprecated," \
00188             "use 'KSSView' instead."
00189         warnings.warn(message, DeprecationWarning, 2)
00190         KSSView.__init__(self, *args, **kw)

Here is the caller graph for this function:

Member Function Documentation

def kss.core.kssview.SiteView.__before_publishing_traverse__ (   self,
) [inherited]

Definition at line 111 of file

00112     def __before_publishing_traverse__(self, obj, request):
00113         event.notify(BeforeTraverseEvent(self, request))

def kss.core.kssview.KSSView.cancelRedirect (   self) [inherited]

Definition at line 158 of file

00159     def cancelRedirect(self):
00160         if self.request.response.getStatus() in (302, 303):
00161             # Try to not redirect if requested
00162             self.request.response.setStatus(200)

Here is the caller graph for this function:

def kss.core.kssview.KSSView.getCommands (   self) [inherited]

Definition at line 163 of file

00164     def getCommands(self):
00165         return self.commands

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

Definition at line 166 of file

00167     def getCommandSet(self, name):
00168         commandset = getRegisteredCommandSet(name)
00169         # return the adapted view
00170         return commandset.provides(self)

Here is the call graph for this function:

def kss.core.kssview.SiteView.getSiteManager (   self) [inherited]

Definition at line 116 of file

00117     def getSiteManager(self):
00118         return self._sitemanager

def kss.core.kssview.KSSView.render (   self) [inherited]
Views can use this to return their command set.

Definition at line 154 of file

00155     def render(self):
00156         """Views can use this to return their command set."""
00157         return self.commands.render(self.request)

def kss.core.kssview.SiteView.setSiteManager (   self,
) [inherited]

Definition at line 119 of file

00120     def setSiteManager(self, sm):
00121         raise TypeError("Site manager of SiteView can't be changed.")

Member Data Documentation

Definition at line 144 of file

Property Documentation

Definition at line 152 of file

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