Sha256: 5c1b60f8636129ff39040c3e96f397840c3bfccbf7a2df64cedb35a4950adcc7
Contents?: true
Size: 660 Bytes
Versions: 10
Compression:
Stored size: 660 Bytes
Contents
module ExtDirect class Selector < Netzke::Base js_base_class "Ext.FormPanel" js_property :padding, 5 action :update def configuration super.merge({ :items => [{:name => "user", :field_label => "User", :xtype => :textfield}], :bbar => [:update.action] }) end js_method :init_component, <<-JS function(){ Netzke.classes.ExtDirect.Selector.superclass.initComponent.call(this); this.addEvents('userupdate'); } JS js_method :on_update, <<-JS function(){ this.fireEvent('userupdate', this.getForm().findField('user').getValue()); } JS end end
Version data entries
10 entries across 10 versions & 1 rubygems