From: Jenjhiz Date: 2005-07-06T04:40:45+09:00 Subject: Re: RoR: Tree and Grid Widgets Hi, Thanks for the reply. So basically the handling of widgets is still all in Javascript, and user gestures sent back to the Controller, which will direct requests to the proper actions and view. As a forever Ruby dabbler -- I've never had the motivation to get serious about it until RoR chugged into town -- it's still a long way for me from having the knowledge of what to do in general to putting the nuts and bolts together. Assume a simple data/view model such as on the left side of the page is a tree that displays index info of master records, and the right hand display shows the rest of the master record in form format acting as header, and below this header is a grid containing detail records relating to the master record. You can do CRUD actions on the master and the detail, and things like sort by a column, search using a list of value in a popup, and all those nice things that users have come to take for granted. I have a hard time visualizing how to proceed from here. One controller? Two controllers, one for the master record the other for the detail record? Delete_record action, or delete_master and delete_detail actions? Etc. Should be interesting. I figured that someone must have done something of this sort, as this is a basic application design. Thanks again. gk