Re: Pyramid Simpleform and Colander

2012-01-30 Thread binadam
i ended up using wtforms. definitely check it out (http:// wtforms.simplecodes.com/) if you want validation, widgets control over layout, etc On Jan 29, 7:21 pm, BruceC bruce.co...@hp.com wrote: Thanks to everyone for contributing to this discussion. I guess I should summarize my findings, for

Re: Pyramid Simpleform and Colander

2012-01-28 Thread Ralph Bean
Hello all, I tried posting here the other day but I think googlegroups ate my post. We developed a solution to the BruceC's problem using tw2 over on toscawidgets-discuss. Here's a link here for future reference.

Re: Pyramid Simpleform and Colander

2012-01-28 Thread Ralph Bean
Hi all, We found a solution that met the original poster's needs over on toscawidgets-discuss. Posting here for future googlers. http://groups.google.com/group/toscawidgets-discuss/browse_thread/thread/3c2b3fe45c872fe0 All the best, Ralph -- You received this message because you are

Re: Pyramid Simpleform and Colander

2012-01-28 Thread Chris Lambacher
Hi, Micheal (radeo) and I were talking on IRC. pyramid_simpleform will not continue to support Colander in the future. The Colander support is half baked and done because FormEncode was unmaintained. FormEncode's maintainership is no longer in question [1] so pyramid_simpleform can continue to be

Re: Pyramid Simpleform and Colander

2012-01-23 Thread Robert Forkel
From my experience with deform this could be rather complicated. Creating custom templates for widgets is easy enough, but you'd still have to synchronize the corresponding css and js. E.g. I have custom templates table_sequence.pt and table_sequence_item.pt to render a sequence of widgets as

Re: Pyramid Simpleform and Colander

2012-01-23 Thread Arndt Droullier
On Mon, Jan 23, 2012 at 8:00 AM, BruceC bruce.co...@hp.com wrote: To my mind there are 2 possible approaches here: 1. Modify pyramid_simpleform so that it can use a schema generated by Colander rather than FormEncode (and in a perfect world, be able to define form widgets in that schema

Re: Pyramid Simpleform and Colander

2012-01-22 Thread Mike Orr
On Tue, Jan 17, 2012 at 11:21 PM, Chris McDonough chr...@plope.com wrote: On Tue, 2012-01-17 at 23:06 -0800, BruceC wrote: Hi all, it would appear the current version of pyramid_simpleform would be 0.6.1, which relies on Formencode, however I have spotted a version 0.7 on bitbucket that Dan

Re: Pyramid Simpleform and Colander

2012-01-22 Thread Chris McDonough
On Sun, 2012-01-22 at 11:53 -0800, Mike Orr wrote: On Tue, Jan 17, 2012 at 11:21 PM, Chris McDonough chr...@plope.com wrote: On Tue, 2012-01-17 at 23:06 -0800, BruceC wrote: Hi all, it would appear the current version of pyramid_simpleform would be 0.6.1, which relies on Formencode, however

Re: Pyramid Simpleform and Colander

2012-01-22 Thread BruceC
Deform Colandar is fantastic if you don't care how your form is displayed in layout terms, but if you need to specify layout, there is no clear way to do that. For some of us, that is the crucial difference determining which forms framework to adopt. If deform had some simpleform-type form field

Re: Pyramid Simpleform and Colander

2012-01-22 Thread Alex Clark
On 1/22/12 7:54 PM, BruceC wrote: Deform Colandar is fantastic if you don't care how your form is displayed in layout terms, but if you need to specify layout, there is no clear way to do that. For some of us, that is the crucial difference determining which forms framework to adopt. If deform

Re: Pyramid Simpleform and Colander

2012-01-22 Thread Chris McDonough
On Sun, 2012-01-22 at 19:59 -0500, Alex Clark wrote: On 1/22/12 7:54 PM, BruceC wrote: Deform Colandar is fantastic if you don't care how your form is displayed in layout terms, but if you need to specify layout, there is no clear way to do that. For some of us, that is the crucial

Re: Pyramid Simpleform and Colander

2012-01-22 Thread BruceC
To my mind there are 2 possible approaches here: 1. Modify pyramid_simpleform so that it can use a schema generated by Colander rather than FormEncode (and in a perfect world, be able to define form widgets in that schema as well) 2. Modify Deform so that it provides pyramid_simpleform-type

Re: Pyramid Simpleform and Colander

2012-01-18 Thread BruceC
Thanks for that Chris...pity really. Deform Colandar look great, except that I really need to manually layout individual forms fields in my templates. I have searched through the documentation for Deform but I cannot see any examples of how to manually render a form so I can have control over

Re: Pyramid Simpleform and Colander

2012-01-18 Thread Chris McDonough
On Wed, 2012-01-18 at 17:00 -0800, BruceC wrote: Thanks for that Chris...pity really. Deform Colandar look great, except that I really need to manually layout individual forms fields in my templates. I have searched through the documentation for Deform but I cannot see any examples of how

Pyramid Simpleform and Colander

2012-01-17 Thread BruceC
Hi all, it would appear the current version of pyramid_simpleform would be 0.6.1, which relies on Formencode, however I have spotted a version 0.7 on bitbucket that Dan Jacob put together that also allows a user to generate form schemas in Pyramid using Colander, which would be my preference.

Re: Pyramid Simpleform and Colander

2012-01-17 Thread Chris McDonough
On Tue, 2012-01-17 at 23:06 -0800, BruceC wrote: Hi all, it would appear the current version of pyramid_simpleform would be 0.6.1, which relies on Formencode, however I have spotted a version 0.7 on bitbucket that Dan Jacob put together that also allows a user to generate form schemas in