Thank you. Good advices. On Tue, Oct 4, 2011 at 1:03 AM, Sergio Cambra .:: entreCables S.L. ::. <[email protected]> wrote: > On Domingo, 2 de Octubre de 2011 03:05:35 slava escribió: >> Hello, >> I have an embedded active scaffold in a view with several select >> choices where a user would select a parameter and would see an updated >> scaffold with a constraint on that parameter set. What is the best way >> to trigger such a reload from the scaffold with new parameters >> included? >> For example a range slider for expiration attribute on the page should >> call on active scaffold to reload with only records that fall withing >> the range included. >> Thanks. > > You could use field_search, adding the fields you need. You can add action > links > to index action, with collection type and nil position, you should set the > parameters for these action links. > > Finally, you can build your own form or links, they would request index action > by AJAX > > -- > 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. > >
-- 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.
