Hi everyone, i was trying to use jrails + AS and everything worked as
expected (so far) using the hint found at
http://crnixon.org/log/2009/05/14/today.html
. The only problem i encountered was the pagination that was still
using the JQuery syntax and on every click on pagination it would
render the whole page inside the AS div.
In order to avoid this go to line 2 at _list_pagination_links.html.erb
and replace the line with this one:
<% pagination_params = params_for(:action => 'update_table', :format
=> 'js') -%>
So you tell the AS to render content for ajax
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---