Sha256: ae14be302db49f3648f50cc659e366ed2915915c945596b47f4fca91027ccc84
Contents?: true
Size: 544 Bytes
Versions: 1
Compression:
Stored size: 544 Bytes
Contents
class ServerCaller < Netzke::Base action :bug_server # Actual action's text is set in en.yml js_properties( :title => "Server Caller", :html => "Wow", :bbar => [:bug_server.action] ) js_method :on_bug_server, <<-JS function(){ this.whatsUp(); this.update('You should see the response from the server in the title bar the very next moment'); } JS endpoint :whats_up do |params| ::Rails.logger.debug "!!! params: #{params.inspect}\n" {:set_title => "All quiet here on the server"} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.6.6 | test/rails_app/app/components/server_caller.rb |