Sha256: 9f36ff160974270faf0c0d23b96c09ac5c5785c60105fbee6e1c4de5b6c3c143

Contents?: true

Size: 474 Bytes

Versions: 3

Compression:

Stored size: 474 Bytes

Contents

class ExtendedServerCaller < ServerCaller
  
  js_properties :title => "Extended Server Caller"
  
  js_method :on_bug_server, <<-JS
    function(){
      #{js_full_class_name}.superclass.onBugServer.call(this);
      this.getBottomToolbar().addButton({text: "Added" + " by extended Server Caller"});
      this.getBottomToolbar().doLayout();
    }
  JS

  def whats_up(params)
    orig = super
    orig.merge(:set_title => orig[:set_title] + ", shiny weather")
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
netzke-core-0.6.2 test/rails_app/app/components/extended_server_caller.rb
netzke-core-0.6.1 test/rails_app/app/components/extended_server_caller.rb
netzke-core-0.6.0 test/rails_app/app/components/extended_server_caller.rb