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

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes


Detailed Description

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

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

Definition at line 735 of file

Constructor & Destructor Documentation

def pyweblib.forms.InvalidValueFormat.__init__ (   self,

Definition at line 744 of file

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

Member Function Documentation

Definition at line 748 of file

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

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 745 of file

Definition at line 746 of file

Definition at line 747 of file

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