Using AJAX, quite easily - just populate an area of your page with the
remote index action.  If you can't use AJAX, not so easily (but more
efficiently).  You will need to retrieve the appropriate data for the
foreign model in the main index action, and display it appropriately.
To get pagination / searching / sorting on both index lists you will
need to have some funky named url parameters (to keep the two lists
separate).


On Jul 30, 8:29 am, rtanz <[EMAIL PROTECTED]> wrote:
> hi i have a view pertaining to a particular model and associations. in
> the index page of this model i would also like to display the index
> view of another model. can i do this? thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to