Sha256: 4b4e7732b3e98a1f0b41b731460da94cd60c2ca0ee6d377890bbdcf2d3e2117e
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
class ServerCaller < Netzke::Base action :bug_server, :text => "Call server" 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| {:set_title => "All quiet here on the server"} end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.6.4 | test/rails_app/app/components/server_caller.rb |
netzke-core-0.6.3 | test/rails_app/app/components/server_caller.rb |