Shannon -jj Behrens wrote: > I'm heading down the road of using Genshi to automatically populate > form field values and error messages as described > <http://genshi.edgewall.org/wiki/GenshiRecipes/FormFilling>. It sure > would be nice to automatically create the form fields and do > validation (a la FormEncode) simply via data provided in the model > (SQLAlchemy) as done in Django > <http://www.djangoproject.com/documentation/forms/>. Is anyone doing > this?
I don't think anyone currently is although various efforts have been made in the past. Ben was involved in some discussion on the TG list about breaking widgets into its own package and I think the TG community are keen to update them to use Genshi. http://groups.google.co.uk/group/turbogears-trunk/browse_thread/thread/f20324648d812728/e6b63256541ff64e?lnk=gst&q=ben+widgets&rnum=1#e6b63256541ff64e There is probably quite a large cross-community group of people who would be keen to help in creating something similar to what Django has but with SQLAlchemy, FormEncode and TG widgets if that is a path we would want to consider going down? Incidentally I have some code which demonstrates some of the basic parts of widgets working (with one or two tweaks necessary) if you are interested? 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 -~----------~----~----~----~------~----~------~--~---
