I would like to Save the currently open form which corresponds to a model (table) or two related models (master-detail) using a menu link (navigation bar) at the top. How should I code this? Can I get a handle to the currently open form and invoke its submit processing. I would like to write generic code which validates any open form and then saves it to the database.

I assume once I can do save I will be able to similarly code retrieve of data also on another menu link. I do not wish to provide any buttons on the form.

Thanks, Amal