Hi

I would like that the AS list be displayed after the layout...

Like :

# CONTROLLER
class Admin::Users < ApplicationController

layout :admin

 activescaffold :users do |config|
....
end

# LAYOUT/ADMIN
<html><head>.....
<body>....
<%= yield %>..
<script>
Event.observe(window,'loaded', function() {
<%= remote_function :url => { :action => :display_AS } %>
}
</script>

How must be my remote function ? Should I use a partial like :
_display_AS.html.erb
<%= render super %>
or
<%= render :activescaffold => 'admin/users' %>

...

Thanks a lot for your help
--~--~---------~--~----~------------~-------~--~----~
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