topcho
2007-Sep-18 07:46 UTC
How to have multiple independently working controlllers for one view
Hi, i have the following problem - on my web project i will have two areas (components) which will change (submit) independently. However, the two areas will interact with each other, too, when some link is clicked for example . There is a rough picture of my problem at thios address : http://offtype.net/image_965035194627.gif.html . The blue areas are those who work independently form one another but at certain actions they submit the other area. And there will be, also a scroll for both of the blue parts. So, my dilema is how to approach this situation? I think the two blue areas will have their own controllers, so how i should handle more than one controller on one view ? I can do it entirely with ajax, but there are more complex object which i have to validate, so i think they''d better be some kind of components. I have read about ''Cells'', but i have not tested them. Moreover, cells are something which handles too small parts from the whole picture, and i have more elements which i want to unify as a component. Furthermore, what would u say about ''components'' and ''Componenets'' and the difference between them? And finally, could you tell me about good component-oriented frameworks for ruby because Rails is not. thanx in advance and i hope we can learn form each other ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---