Back to index

plone3  3.1.7
Public Member Functions
plone.app.layout.alias.sharing.FolderLocalroleFormAlias Class Reference
Inheritance diagram for plone.app.layout.alias.sharing.FolderLocalroleFormAlias:
Inheritance graph
[legend]
Collaboration diagram for plone.app.layout.alias.sharing.FolderLocalroleFormAlias:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def redirect

Detailed Description

Base class for views that perform a redirect

Definition at line 4 of file sharing.py.


Member Function Documentation

Definition at line 8 of file sharing.py.

00008 
00009     def redirect(self):
00010         
00011         log = getLogger('Plone')
00012         log.warn("folder_localrole_form is deprecated and will be removed in "
00013                  "Plone 4.0. Use the /@@sharing view instead. Most likely, "
00014                  "if you see this message the old template is being "
00015                  "referenced in portal_types.")
00016         
00017         self.request.response.redirect('%s/@@sharing' % self.context.absolute_url())

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