Sergio, You can make another option. Reload the line after updating a field... I think is better
-- Regards, Gabriel Sobrinho Em Ter, 2009-04-28 às 17:11 +0200, Sergio Cambra .:: entreCables S.L. ::. escreveu: > It's a feature which has been requested many times. For example in these > threads: > http://groups.google.com/group/activescaffold/browse_thread/thread/6aa2ca7641d66102 > http://groups.google.com/group/activescaffold/browse_thread/thread/69163d469cb07b3f > > It's about rendering again a field after change a value in another field. Now > you can get it only with a line in your controller: > config.columns[:master_column].options = {:update_column => :slave_column} > > Field for slave column will be rendered again when you change the value in > master column. It will work if rendering slave column only needs the value of > master column. > > I haven't tried with two levels of chained fields as in second thread, > probably it needs more tweaking for that case. > I'm documenting it in the wiki: > http://wiki.github.com/activescaffold/active_scaffold/chaining-form-fields > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
