Package ldaptor :: Package apps :: Package webui :: Module move :: Class MoveForm
[show private | hide private]
[frames | no frames]

Class MoveForm

Widget --+        
         |        
      Form --+    
             |    
OLD_SearchForm --+
                 |
                MoveForm


Method Summary
  __init__(self, baseObject, serviceLocationOverride, dn, searchFields)
  process(self, write, request, submit, **kw)
Override me: I process a form.
    Inherited from OLD_SearchForm
  format(self, form, write, request)
I display an HTML FORM according to the result of self.getFormFields.
  getFormFields(self, request, kws)
    Inherited from Form
  display(self, request)
Display the form.
  formatError(self, error)
Format an error message.
  getFormID(self)
Override me: I disambiguate between multiple forms of the same type.
  shouldProcess(self, request)
  tryAgain(self, err, req)
Utility method for re-drawing the form with an error message.
    Inherited from Widget
  getTitle(self, request)

Class Variable Summary
classobj searchFactory = ldaptor.apps.webui.move.DoSearchFactoryMove
list submitNames = ['Search', 'Put it here', 'Abort']
    Inherited from OLD_SearchForm
list formFields = [('string', 'Advanced', 'ldapfilter', ''), ...
    Inherited from Form
str actionURI = ''
int formAcceptExtraArgs = 0                                                                     
dict formGen = {'checkbox': <function htmlFor_checkbox at 0x4...
dict formParse = {'int': <type 'int'>, 'float': <type 'float'...
    Inherited from Widget
NoneType title = None                                                                  

Method Details

process(self, write, request, submit, **kw)

Override me: I process a form.

I will only be called when the correct form input data to process this form has been received.

I take a variable number of arguments, beginning with 'write', 'request', and 'submit'. 'write' is a callable object that will append a string to the response, 'request' is a twisted.web.request.Request instance, and 'submit' is the name of the submit action taken.

The remainder of my arguments must be correctly named. They will each be named after one of the
Overrides:
ldaptor.apps.webui.move.OLD_SearchForm.process (inherited documentation)

Class Variable Details

submitNames

Type:
list
Value:
['Search', 'Put it here', 'Abort']                                     

Generated by Epydoc 2.0 on Fri Mar 12 17:21:12 2004 http://epydoc.sf.net