I would make the interface in javascript and make your own save button (so the user will
be in view mode not inline mode.)
When the user clicks on your save button, a form posts back the number of objects they
want and information to put in them. Then as that page renders it can create all of the
objects.
Caleb
Matthew Hildebrand wrote:
I am trying to add a dynamic number of objects (all of
the same type) to
a document from the inline-edit page. The workflow that I would like is
for the user to click an "Add Requirement" button and a row is populated
on the page below the edit-list of existing requirements that is blank
and can be added to. The user can do this multiple times, then click the
"Save & View" button and it is all saved.
I have figured out how to create objects during the initial rendering of
the edit page, but not how to do it dynamically.
Any suggestions would be greatly appreciated.
Thanks!
--Matthew
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users