Back to index

plone3  3.1.7
Private Member Functions
CMFDefault.formlib.widgets.EmailInputWidget Class Reference
Inheritance diagram for CMFDefault.formlib.widgets.EmailInputWidget:
Inheritance graph
Collaboration diagram for CMFDefault.formlib.widgets.EmailInputWidget:
Collaboration graph

List of all members.

Private Member Functions

def _toFieldValue

Detailed Description

Definition at line 50 of file

Member Function Documentation

def CMFDefault.formlib.widgets.EmailInputWidget._toFieldValue (   self,
) [private]

Definition at line 55 of file

00056     def _toFieldValue(self, input):
00057         if input == self._missing:
00058             return self.context.missing_value
00060         try:
00061             return str(input.strip())
00062         except (AttributeError, UnicodeEncodeError), err:
00063             raise ConversionError(_(u'Invalid email address.'), err)

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