On 9/24/06, James Gardner <[EMAIL PROTECTED]> wrote: > > * Using FormBuild to build forms > * Using FormEncode to validate data > * Using AuthKit to allow only certain users to edit/delete pages > * Using a SessionContext/Transactions in SQLAlchemy > * How to tie them all together as a basic framework. > > If enough people think it would be useful I'll make a start.
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. 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. 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. Maybe you'd want to include notes about these things in the Part II. Thank you! Sergey. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
