I can't say that I know the answer since I haven't tried it, yet. In
the example that I referenced, the fields were defined and set in the
manipulator class.
You might be able to to do this as two different forms, that appear on
the same page, the javascript may update an ingredient model through
Thanks yun, it seems I need to look into a custom manipulator. I do
have one question though...
Can you have an arbitrary number of form fields or do you have to
define them all in the manipulator? An example would be if I want to be
able to add ingredient fields (with javascript) so I would say
You can modify multiple models with the same view. I've managed to do
it, but involved creating my own manipulator. This isn't nearly as
scarry as it sounds, once you understand what's going on. I posted what
I did on a http://ssy5.blogspot.com/2006/11/taking-care-of-registration.html";>blog
. The
I had a question a while ago about updating multiple models with one
form submission but got no responses so I am going to try and reword it
and hopefully someone can help me.
I have two models, a recipe model and an ingredients model. The
ingredient model is simple and just looks like this
4 matches
Mail list logo