Re: inserting controller view into another view

2007-07-30 Thread rtanz
i see, is there some documentation somewhere so i can read more about this? On Jul 30, 5:13 am, Grant Cox [EMAIL PROTECTED] wrote: 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

Re: inserting controller view into another view

2007-07-30 Thread Chowsapal
How about request action (http://api.cakephp.org/ class_object.html#c40a38b60a3748b9cf75215b92ee3db1). There's a parameter that specifies if an action is being called by another page (though it's name escapes me at the moment). You could use that to send a different layout when it's inside

Re: inserting controller view into another view

2007-07-29 Thread Grant Cox
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