Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes

 name
 text
 value
 args

Detailed Description

The user's input does not match the required format.

Attributes:
name          name of input field (Field.name)
text          textual description of input field (Field.text)
value         input value received

Definition at line 735 of file forms.py.


Constructor & Destructor Documentation

def pyweblib.forms.InvalidValueFormat.__init__ (   self,
  name,
  text,
  value 
)

Definition at line 744 of file forms.py.

00744 
00745   def __init__(self,name,text,value):
00746     self.name = name
00747     self.text = text
    self.value = value

Member Function Documentation

Definition at line 748 of file forms.py.

00748 
00749   def __str__(self):
00750     return 'Input value "%s" for field %s (%s) has invalid format.' % (
00751       self.value,self.text,self.name
00752     )

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 745 of file forms.py.

Definition at line 746 of file forms.py.

Definition at line 747 of file forms.py.


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