Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes


Detailed Description

User's input contained too many values for same parameter.

name                  name of input field (
text                  textual description of input field (Field.text)
valueCount            integer number of values counted with name
maxValueCount         integer number of maximum values with name allowed

Definition at line 773 of file

Constructor & Destructor Documentation

def pyweblib.forms.TooManyValues.__init__ (   self,

Definition at line 783 of file

00784   def __init__(self,name,text,valueCount,maxValueCount):
00785      = name
00786     self.text      = text
00787     self.valueCount    = valueCount
    self.maxValueCount = maxValueCount

Member Function Documentation

Definition at line 788 of file

00789   def __str__(self):
00790     return '%d values for field %s (%s). Limited to %d input values.' % (
00791       self.valueCount,self.text,,self.maxValueCount
00792     )

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

Definition at line 784 of file

Definition at line 785 of file

Definition at line 786 of file

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