> If it is expecting the form to be retrieve as xhtml -- I've never used such a
> widget -- then you should render the form before returning and the widget
> mechanism will deal with placing the errors in the correct places.
Isn't that how the Remote Form widget works? That is what the tutorial
shows at any rate, that the dom element passed in to the 'update'
argument gets replaced with the xhtml coming from the method passed in
with the 'action' par. Am I misunderstanding or do you mean you don't
use that widget?
>
> result = conversations_grid.render(conversations).decode('utf-8')
>
> This renders a grid with "conversations" as values and places the resulting
> HTML inside the result variable.
>
> You'd have to do something like that but passing the errors dict as well so
> that those errors can be rendered with the form.
If you don't mind ( I know you've spent a LOT of time today answering
me! ) can you point me at how that is done? The examples I'm finding
seem to assume it's done automatically.
Thanks again!
Iain
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---