Back to index

python-weblib  1.3.9
Public Member Functions | Public Attributes
pyweblib.forms.ParamsMissing Class Reference
Inheritance diagram for pyweblib.forms.ParamsMissing:
Inheritance graph
[legend]
Collaboration diagram for pyweblib.forms.ParamsMissing:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes

 missingParamNames
 args

Detailed Description

Required parameters are missing.

Attributes:
missingParamNames     list of strings containing all names of missing
                      input fields.

Definition at line 715 of file forms.py.


Constructor & Destructor Documentation

def pyweblib.forms.ParamsMissing.__init__ (   self,
  missingParamNames 
)

Definition at line 723 of file forms.py.

00723 
00724   def __init__(self,missingParamNames):
    self.missingParamNames = missingParamNames

Member Function Documentation

Definition at line 725 of file forms.py.

00725 
00726   def __str__(self):
00727     return 'Required fields missing: %s' % (
00728       ', '.join(
00729         map(
00730           lambda i:'%s (%s)' % (i[1],i[0]),
00731           self.missingParamNames
00732         )
00733       )
00734     )

def pyweblib.forms.FormException.html (   self) [inherited]

Definition at line 660 of file forms.py.

00660 
00661   def html(self):
00662     return escapeHTML(str(self))

Here is the call graph for this function:


Member Data Documentation

Definition at line 657 of file forms.py.

Definition at line 724 of file forms.py.


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