Hi everyone, I had to make changes to web.forms for my project, and then figured they were good enough to contribute back to the community - I've particularly overhauled the docstrings (use http://epydoc.sourceforge.net/ to generate the docs)
The code itself: http://snipplr.com/view/3630/webform-improvements/ A test form using web.py: http://snipplr.com/view/3631/testing-webform-improvements/ If Aaron Swartz is feeling charitable - might he consider integrating it into 3.0? (I can make specific requested changes beforehand) Theres one or two places where I managed to munge the public interface (before I had the idea of "contributing back"): e.g. I used the "label" keyword instead of "description" to generate <label for="someid">somelabel</label> tags. There's also a bug where web.input() doesn't work inside Form.validates() under CGI - so I made that it you have to pass "source" from outside. I can try undo any public interface changes if people insist. There's also custom descriptions for radio buttons, and ability to render just a particular radio button instead of all at once. Feedback? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
