Thanks a lot!
On 20 Wrz, 11:37, Günther Theilen <[EMAIL PROTECTED]> wrote:
> $form->input('category_id', array(
> 'options' => $categoriesList,
> 'escape' => false
> ));
>
> Regards
> Guenther
--~--~-~--~~~---~--~~
You received this message because you are su
Hi,
kicaj wrote:
> ...in view:
> $form->input('category_id', array('options'=>$categoriesList));
try this:
$form->input('category_id', array(
'options' => $categoriesList,
'escape' => false
));
Regards
Guenther
--~--~-~--~~~---~--~~
You received this mes
Hi
I use Tree behavior:
$this->set('categoriesList', $this->Category->generateTreeList(null,
"{n}.Category.id", "{n}.Category.name", " "));
...in view:
$form->input('category_id', array('options'=>$categoriesList));
...and i get this in my browser:
My Categories
Fun
Sport
&nb