I think your problem is that update_user is expecting a form field
named 'option1' but is really receiving a field named 'nom'.  If you
look in your HTML source for the page, you should see that the input
field is named 'nom'.  This is the parameter name that will be received
by update_user.  You can also note that the signature of update_user
takes a 'password1' parameter, not 'password_1'.  The controller isn't
expecting to receive the variable names, but the 'name' parameter of
the widget.

Try changing update_user to
def update_user(self, email, old_password, password1, password2,
nom, prenom, user_name=None):

You should also change your option1 and option2 variable names in the
schema to be nom and prenom as well, otherwise you will get a
validation error.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to