Hi Bob,
The problem is: the def attrget() function is out of original Form
class (see in form.py file in the web folder in the web.py
instalation), it's a function in the form.py file but out of the Form
class definition.
Another problem is when I'm try subclassing the Form class I'm
receiving this error message:
vemail = form.regexp("^([0-9a-zA-Z]+([_.-]?[0-9a-zA-Z]+)*...@[0-9a-za-z]
+[0-9,a-z,A-Z,.,-]*(.){1}[a-zA-Z]{2,4})+$", "Precisa ser um endereco
de e-mail válido !.")
AttributeError: 'module' object has no attribute 'regexp'
Or be, another class in the form.py file aren't sub classified or
aren't in the same namespace.
Any idea ?
-- Leandro.
On Jul 15, 5:34 pm, bob <[email protected]> wrote:
> Seehttp://www.mail-archive.com/[email protected]/msg05863.html
>
> Basically...
>
> class MyForm(web.form.Form):
> def attrget(self):
> # override parent's attrget method
>
> some_form = MyForm(
> ....
> )
>
> On Jul 15, 7:33 am, ProfessionalIT <[email protected]> wrote:
>
> > Friends,
> > Any idea or suggestion ?
> > Thanks for all help.
>
> > -- Leandro.
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.