Hi Sergey,

> This table of contents is great! I have manuals for each of these open
> in my browser at all times, so having one concise cross-referenced
> guide would help a lot.

Thanks, it looks like people think it is a good idea.

> While we're on the subject, I wanted to note one tiny thing. I caught
> myself changing "c" after calling formbuild.handle() and before
> returning the response created inside this call. It didn't have any
> effect of course because the response has been generated already, but
> being a novice it took me some time to figure this out.

Ahh yes, you need to assign to c before calling formbuild.handle()

> What I was
> trying to do is add something to context in case of a validation
> error. Then I tried evaluating (c.form and c.form.errors) to determine
> if there was a validation error, but this always evaluated to True
> because by default c.form.errors is a list containing one empty
> dictionary. 

OK, actually there is no reason why I couldn't make c.form.errors just a 
dictionary and store the original errors in c.form.all_errors or similar 
if that would be useful.

> Maybe you'd want to include notes about these things in
> the Part II.

Thanks, will do!

James

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

Reply via email to