I have an application where I have a url of:

/widgets

>From that list, you can view the detail of an individual widget with:

/widget/1

This page displays widget_header and widget_detail lines.  The form at
the bottom allows the user to add a new detail line.

@validate(widget_form, error_handler='widget')

However, when I need to do validation on the form submission on the
url /widget/1, error_handler is set to 'widget', which causes the page
generation to fail because it doesn't pass id, and, request.params is
empty at this point.  Since the form is adding a detail line to a
header record, using RestController doesn't seem to really fit the
requirements unless I am not implementing RestController correctly.

How have others handled this situation without resorting to a modal
form?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to