Form processing

0 views
Skip to first unread message

schneck

unread,
Jul 3, 2009, 2:31:05 PM7/3/09
to pylons-discuss
Hi there,

I am thinking about the processing of form values since a while. This
is my scenario:
There is a Elixir-model in my application which contains a lot of
fields and different kinds of relations. The fields change from time
to time, and it's a lot of work to always change the model first, then
adjust the controller and in the end change the template that contains
that input mask.
What complicates the setting a bit is, that i work heavily with
autocompletion fields, means, there is e.g. a manytomany-relation
between the central object and sub-objects, and the user may enter
arbitrary values which have to be processed (create a new related
object if it does not exists, otherwise choose an existing).

Basically I'm looking for a way to automatically reflect the data
model, create a customizable form of it (which is not essentially
necessary) and - and this is really important - handles the controller
logic and validates and saves the data.

Any hints appreciated.

David Stanek

unread,
Jul 5, 2009, 12:44:14 AM7/5/09
to pylons-...@googlegroups.com

I don't know if it satisfies all of your requirements, but I have been
quite happy with FormAlchemy.

--
David
blog: http://www.traceback.org
twitter: http://twitter.com/dstanek

schneck

unread,
Jul 6, 2009, 12:46:21 PM7/6/09
to pylons-discuss
On Jul 5, 6:44 am, David Stanek <dsta...@dstanek.com> wrote:
> I don't know if it satisfies all of your requirements, but I have been
> quite happy with FormAlchemy.

thanks for the link, unfortunately, formalchemy seems not to do
introspection on elixir-models: i have many dropdowns containing the
object string representation instead of rendered form fields.

Alexandre Conrad

unread,
Jul 6, 2009, 3:13:30 PM7/6/09
to pylons-...@googlegroups.com
2009/7/6 schneck <stefan...@googlemail.com>:

> thanks for the link, unfortunately, formalchemy seems not to do
> introspection on elixir-models: i have many dropdowns containing the
> object string representation instead of rendered form fields.

We're expecting that FormAlchemy will work with Elixir (at least it
was at some time). Although, none of the FA core devs use Elixir. You
may want to join the FA mailing list and help us test the lib with
your Elixir setup to provide feedback.

Regards,
Alex

Reply all
Reply to author
Forward
0 new messages