Yeah if you add **kwargs somehow magically it is filled with the error
data from the validators. I will confirm this too. You don't have to
even delve into input_values.
@turbogears.expose(template=..)
def add(self, tg_errors=None, **kwargs)
if tg_errors:
turbogears.flash("errors")
#Use kwargs.get(email, None)
#Use kwargs.get(fname, None)
...
return dict(...)
On 11/15/06, chiangf <[EMAIL PROTECTED]> wrote:
>
> I have no idea why but once I added **kw, everything worked. I'm not
> going to question it, :)
>
> Sanjay, thank you so much for the help
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---