Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
CMFDefault.browser.metadata.MetadataEditView Class Reference
Inheritance diagram for CMFDefault.browser.metadata.MetadataEditView:
Inheritance graph
[legend]
Collaboration diagram for CMFDefault.browser.metadata.MetadataEditView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUpWidgets
def handle_change_success
def handle_change_and_edit_success

Static Public Attributes

tuple actions
tuple form_fields = form.FormFields(IMetadataSchema)
tuple label = _(u'Properties')

Detailed Description

Edit view for IMutableDublinCore.

Definition at line 216 of file metadata.py.


Member Function Documentation

Definition at line 266 of file metadata.py.

00266 
00267     def handle_change_and_edit_success(self, action, data):
00268         self._handle_success(action, data)
00269         return self._setRedirect('portal_types', 'object/edit')

Here is the call graph for this function:

Definition at line 262 of file metadata.py.

00262 
00263     def handle_change_success(self, action, data):
00264         self._handle_success(action, data)
00265         return self._setRedirect('portal_types', 'object/metadata')

Here is the call graph for this function:

def CMFDefault.browser.metadata.MetadataEditView.setUpWidgets (   self,
  ignore_request = False 
)

Definition at line 249 of file metadata.py.

00249 
00250     def setUpWidgets(self, ignore_request=False):
00251         super(MetadataEditView,
00252               self).setUpWidgets(ignore_request=ignore_request)
00253         self.widgets['allow_discussion']._messageNoValue = _(u'Default')
00254         self.widgets['description'].height = 4
00255         self.widgets['subject'].split = True
00256         self.widgets['contributors'].height = 6
00257         self.widgets['contributors'].split = True
00258         self.widgets['created'].split = True
00259         self.widgets['modified'].split = True
00260         self.widgets['effective'].split = True
00261         self.widgets['expires'].split = True

Here is the call graph for this function:


Member Data Documentation

Initial value:
form.Actions(
        form.Action(
            name='change',
            label=_(u'Change'),
            validator='handle_validate',
            success='handle_change_success',
            failure='handle_failure'),
        form.Action(
            name='change_and_edit',
            label=_(u'Change and Edit'),
            validator='handle_validate',
            success='handle_change_and_edit_success',
            failure='handle_failure'),
        form.Action(
            name='change_and_view',
            label=_(u'Change and View'),
            validator='handle_validate',
            success='handle_change_and_view_success',
            failure='handle_failure'))

Definition at line 221 of file metadata.py.

Definition at line 241 of file metadata.py.

tuple CMFDefault.browser.metadata.MetadataEditView.label = _(u'Properties') [static]

Definition at line 247 of file metadata.py.


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