Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes


Detailed Description

Length of user input value invalid.

name          name of input field (
text          textual description of input field (Field.text)
valueLen      integer number of received value length
maxValueLen   integer number of maximum value length

Definition at line 753 of file

Constructor & Destructor Documentation

def pyweblib.forms.InvalidValueLen.__init__ (   self,

Definition at line 763 of file

00764   def __init__(self,name,text,valueLen,maxValueLen):
00765      = name
00766     self.text      = text
00767     self.valueLen    = valueLen
    self.maxValueLen = maxValueLen

Member Function Documentation

Definition at line 768 of file

00769   def __str__(self):
00770     return 'Content too long. Field %s (%s) has %d characters but is limited to %d.' % (
00771       self.text,,self.valueLen,self.maxValueLen
00772     )

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

Definition at line 764 of file

Definition at line 765 of file

Definition at line 766 of file

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