Il 20/06/2012 10:26, Moritz Schlarb ha scritto:
> Glauco, is that TurboGears 1 you're using?


Yes...

i found the problem (and it is very strange).


I've 2 controllers that expose the same form:

the form is like:


form = TableForm( fields=[...],
                   validator=Schema(),
                   template="...",
                   action='save')


If i define a new form IDENTICAL to that one:
form2 = TableForm( fields=[...],
                   validator=Schema(),
                   template="...",
                   action='save')

The validation is correct but no error are showed.

i've solved doing this:

form2=form

but i'm not sure if this is correct.




Glauco




Il contenuto di questa e-mail è rivolto unicamente alle persone alle quali è 
indirizzato e può contenere informazioni la cui riservatezza è tutelata 
legalmente. Sono vietati la riproduzione, la diffusione e l’uso di questa 
e-mail in mancanza di autorizzazione del destinatario. Se avete ricevuto questa 
e-mail per errore vogliate cortesemente contattarci  immediatamente.

This e-mail is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Unauthorised reproduction, dissemination or use of 
this e-mail or of the information herein by anyone other than the intended 
recipient is prohibited. If you have received this e-mail by mistake, please 
notify us immediately.

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