Sha256: 48ae51ca89b8daaef9a12fadda2b337f523b7020a7f53cda8e172860ed0fea4f
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 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| {: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.7 | test/rails_app/app/components/server_caller.rb |
netzke-core-0.6.5 | test/rails_app/app/components/server_caller.rb |