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
[legend]
Collaboration diagram for pyweblib.forms.TooManyValues:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def html

Public Attributes

 name
 text
 valueCount
 maxValueCount
 args

Detailed Description

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

Attributes:
name                  name of input field (Field.name)
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 forms.py.


Constructor & Destructor Documentation

def pyweblib.forms.TooManyValues.__init__ (   self,
  name,
  text,
  valueCount,
  maxValueCount 
)

Definition at line 783 of file forms.py.

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

Member Function Documentation

Definition at line 788 of file forms.py.

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

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

Definition at line 784 of file forms.py.

Definition at line 785 of file forms.py.

Definition at line 786 of file forms.py.


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