Hello Sergio

I tried using send_form_on_update_column = true
For instance i have 2 drop downs insurance company insurance type and
product

On choosing insurance company,  insurance types gets loaded and on
choosing insurance types, related products gets loaded.
Now i choose a insurance company, and a insurance type and a product.
I have set send_form_on_update_column = true for insurance types.
After choosing a product, i again change the insurance type....
thought the product list is upated the previously chosen value is
still present in the product list.
It does not clean up the list before reloading the product.

Is there something that i a missing.

My order controller is as below
    config.columns[:insurancecompany].form_ui = :select
    config.columns[:insurancecompany].update_column =
[:insurancetype]
    config.columns[:insurancetype].form_ui = :select
    config.columns[:insurancetype].update_column = :product
    config.columns[:insurancetype].send_form_on_update_column = true
    config.columns[:product].form_ui = :select


Thanks
Balaji




On Jun 25, 7:18 pm, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Viernes, 25 de Junio de 2010 14:32:26 Aladin escribió:
>
> > Thanks Sergio
>
> > I just updated my app with latest from master.
> > here's what i got:
>
> > works as expected :
> > config.columns[:some_field].options => {:options=>[<my
> > options>], :update_column=>[:a_field, b_field]}
> > config.columns[:some_field].send_form_on_update_column = true
>
> Are you sure you are using latest master branch? options[:update_column] is
> not used in latest master.
>
>
>
> > Not working as expected:
> > same as above but using
> > config.column[:some_field].update_column = [:a_field, b_field]
>
> > The later doesn't generate AJAX-Call (no on_change-Event). Did I miss
> > something here ?
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to