render AS create.rjs in your action:
copy it from the AS plugin into your app/views/your_controller/ with
the same name of your action.
BTW, does anyone knows how to call directly without copying it? i
mean, something like
render "#{RAILS_ROOT}/vendor/plugins/activescaffold/frontends/default/
views/create.rjs" ? any ideas?
On Sep 11, 5:06 am, Differenthink <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have an action which basically is meant to duplicate a row in the
> table, it works.
> But i would like to make the new row appear with Ajax, because making
> the entire page reloading is too long (i ve tons of records).
> I tried using the :inline property but i can't get the form or just
> the column reload/appear...
>
> I ve been some searching on the group but didn"t find my answser.
>
> Any suggestions ?
>
> Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---