Sha256: 2c460d1f65655cc2d746195fed5e46f68d586431a2c26fdb1c3ce8e55def32c2
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 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", :tbar => [:bug_server.action] # TODO: used to be bbar, but Ext 4.0.2 has problems with rendering it! ) 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.7.1 | test/rails_app/app/components/server_caller.rb |
netzke-core-0.7.0 | test/rails_app/app/components/server_caller.rb |