A Way To Combine Views From Multiple Controllers Using Tabs?


I was wondering if there is a way to combine views from different controllers in a TabView. Each view would have its own tab. Just got a request from a client to combine two separate views and can’t figure out if there’s a straightforward way to do this.

Thanks for your help!


load by ajax?

But how would I go about doing that?

Would I have a controller that combines the two? I can’t seem to make it work because how would I get the views to render from different controllers in a single view?

Figured it out.

Widgets, I had the same problem some time ago and the answer is widgets.

You will probably have some issues with this, ask yourself why would you… but it would be nice if… why not use controllers… you will try some things and in the end the answer is widgets.