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
Collaboration diagram for pyweblib.forms.ParamsMissing:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes


Detailed Description

Required parameters are missing.

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

Definition at line 715 of file

Constructor & Destructor Documentation

def pyweblib.forms.ParamsMissing.__init__ (   self,

Definition at line 723 of file

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

Member Function Documentation

Definition at line 725 of file

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

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

Definition at line 724 of file

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