Do you have 'RiskCategory' in your data array? Try debug($this->data) in the view. If not, you might want to look at ContainableBehavior to include it.
On Fri, May 1, 2009 at 2:14 PM, jake1729 <[email protected]> wrote: > > I have the following setup: > > Contractor hasMany Projects > > Project hasMany Risks > > Risk belongsTo Riskcategory > > === > In my projects view, I am shown related project risks. One of the > column headers is the "Risk Category". However, it only shows the > primary key id (riskcategories_id), which is a foreign key in the > Risks table. > > How can I show the actual category name in the related Project Risks > table in the view? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
