Hi Friends,

   Sorry for the dummie question but....

   To use the forms in GAE - Google App Engine I did a copy of form.py
called gae_form.py and re-defined the function attrget (because the
original function don't accept the key attribute of GAE Entitys).

   Then in my forms.py (my forms file definition) I'm using:

####from web import form
import gae_form as form

and

def getCategoryForm():
    category_form = form.Form(
        form.Textbox('title'),
        form.Button('Submit!')
    )
    return category_form

  Well, my main question is: How to subclassing the web.form class(if
this is necessary ?) ? because I'm only redefining the attrget
function of the original form.py file. I think that my solution(a copy
of original form.py) don't be the best way.

  Any idea, suggestion ?

Thanks for all help.

best regards,
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.

Reply via email to