Displaying 1 result from an estimated 1 matches for "choosemembercontroller".
2012 Jul 14
0
Adding to an association from a long list of items
...anization. One way
is to create a big HTML Select tag containing Member.all, and allow the
user to pick the Member he wants to add. This is easy to do, but there
could be hundreds or even thousands of Members, so it''s not very scalable.
An alternative idea is to create a separate "ChooseMemberController" and
pop up its view in a new browser window. The view would show a paginated
list of all Members, which solves the scalability problem. But I don''t know
how to communicate the user''s selection back to the original calling
controller. Also, a pop-up window might not be th...