Sha256: e33e38ff12e5213102ac1adc032f70a900c8b61744656a32d833f6f02ee86c6e
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", :bbar => [: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.3 | test/core_test_app/app/components/server_caller.rb |
netzke-core-0.7.2 | test/core_test_app/app/components/server_caller.rb |