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
> > difference determining which forms framework to adopt. If deform had
> > some simpleform-type form field rendering methods - eg $
> > { myform.field('foo').label() }, ${ myform.field('foo').value() }& $
> > { myform.field('foo').errors() } - that would definitely make it a
> > more broadly functional package imho...
>
>
> FWIW I'm using deform for fun & profit and would like to see this too.
>
> Maybe mcdonc could lay out a way for us to get there, assuming someone
> wants to take on the work.
The basic way is laid out in pyramid_simpleform right now, I think.
simpleform-style imperative form rendering using a Colander schema
rather than FormEncode. Then presumably you could share your schemas
between Deform and whatever-that-thing-gets-called. Devil's in the
details of course.
- C
--
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?hl=en.