On 9/6/06, BJörn Lindqvist <[EMAIL PROTECTED]> wrote:
> I also changed the add.kid template to match Root's add() method. It
> renders the four parameters manually instead of using the widgets
> display() method. When I run the code and submit the form, I always
> get the error "The input field 'self' was not expected"

I'm not sure why this is occuring, it looks like the schema is somehow
getting the self parameter that's meant for save. I've never tried
this myself and can't answer this without poking around in code, so
I'll leave the real answer to someone else. ;]

> Also, the attributes input_values and validation_errors aren't
> assigned to the request object. Shouldn't they be?

It's not request, it's cherrypy.request.input_values and
cherrypy.request.validation_errors

> Are these problems bugs or have I fundamentally misunderstood
> something?

I still don't understand what is wrong enough with widgets that the
wheel needs to be reinvented. I know they have limitations but you've
never given a reason to avoid them. I keep asking this because I plan
on trying to document issues people have with the framework.

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

Reply via email to