Logo Search packages:      
Sourcecode: zope-atseng version File versions  Download package

def ATSchemaEditorNG::SchemaEditor::SchemaEditor::atse_changeSchemataForField (   self,
  schema_id,
  schema_template,
  name,
  schemata_name,
  RESPONSE = None 
)

move a field from the current fieldset to another one 

Definition at line 766 of file SchemaEditor.py.

00766                                                                                                          :
        """ move a field from the current fieldset to another one """
        S = self.atse_getSchemaById(schema_id)
        S.changeSchemataForField(name, schemata_name)
        self._schemas[schema_id] = S
        util.redirect(RESPONSE, schema_template,
                      self.translate('atse_field_moved', 
                                     default='Field moved to other fieldset',
                                     domain='ATSchemaEditorNG'), 
                      schemata=schemata_name, 
                      schema_id=schema_id,
                      field=name)

    ######################################################################


Generated by  Doxygen 1.6.0   Back to index