Michael Kuznetsov schrieb:
> Diez,
> 
> Sorry for the very naive question, but can you explain what you mean  
> by this or point me to some reading? I'm having a similar problem even  
> though my variables are identical.

Well, the OP showed some ToscaWidgets form which he used as argument to 
the validation.

However, the data send by the browser didn't match (as Marko pointed out).

This would only happen if the form was only used as for validation, but 
not for rendering the form in the page first.

The latter would mean to have something like this:

   @expose(my.template)
   def my_controller(self):
       c.my_form = my_form


and in my.template

   ...
   ${c.my_form.display()}
   ...


That would ensure that the declared form is used for rendering the HTML, 
and thus field-names match.

Diez

--~--~---------~--~----~------------~-------~--~----~
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