Hi Kostadin,
If i get right what you try to do.
There is a tricky point there, i should do a fix someday
when you want to show selected value you have to
$sc_ajax_select_boxes->add_select_box(
'lsd_demo_2','rec_id','descr','rec_id',2, <----- selected value for first box
'sel1','sel_id_1','', 'parent_id=0');
$sc_ajax_select_boxes->add_radio_box(
'lsd_demo_2','rec_id','descr','rec_id',10, <------- selected value for second box
'sel2','sel_id_2','');
and when linking the two boxes you must set again selected value for first box
$sc_ajax_select_boxes->link_select_boxes(
'sel1','sel2', 'parent_id',
2); <-------------------------------selected value for first box
I know its crazy... but this way it will work.
So as far as i know CakePHP, form is in the view and controler/model validates and if not validated
view is shown again, right?
In form there is $data array... i stop here before i say somthing wrong...
you know CakePHP better
But still i would like to see some Cake code using this class
Regards
Panos