Thanks for your reply Bert.

Okay... I've changed my Controller to do this:
    $this->set('brigades', $this->Member->Brigade->generateList());

And my SELECT is built successfully using this:
    $html->selectTag('Member/brigade_id', $brigades, null, array(), true)

BUT, I get this error on the page:
*Warning*: Cannot use a scalar value as an array in *
/srv/www-data/iBrigade/cake/libs/view/helpers/html.php* on line *478

*And the default value is not selected :(

If it makes any difference, I'm using version 1.1.19.6305 (according to
VERSION.txt)...

Thank all for your help,
~p**

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to