Thanks for the reply. I commented out the constructor and am no longer
seeing the error. However, I have this function in my model:
function addFieldDisplayName($x) {
return $x['ln'].', '.$x['fn'];
}
But when I try this in my controller it doesn't work:
$this->set('contacts', $this->Address->Contact->generateList(NULL,
NULL, NULL, '{n}.Contact.id', '{n}.Contact.DisplayName'));
Shouldn't the addFieldDisplayName() function allow me to use the
{n}.Contact.DisplayName placeholder? Instead, I get the proper id
values in my option tags, but nothing in the text portion (between the
<option></option> I mean).
Many thanks, again.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---