Sha256: b84f8dd0105c59f6ab8666965e51178d1b6614fc032671e18463eda2c01f7f23
Contents?: true
Size: 923 Bytes
Versions: 2
Compression:
Stored size: 923 Bytes
Contents
Make :items option understand also a hash. Caching for netzke_controller-provided JS and CSS. Caching - investigate reusing (fragment?) caching of Rails. Use Ext.Direct in the Netzke controller. Let specify per API point if it will use a GET or a POST request. = Ideas that didn't work out == Making value from super-class accessible in the block parameters in endpoints, e.g.: endpoint :call_server do |params, orig| orig.merge(:set_title => orig[:set_title] + " extended") end Bad idea because calling the super method is often required AFTER doing something in the override, not BEFORE. For example, deliver_component in GridPanel in Basepack is overridden to reconfigure the components on the fly before actually delivering the component (i.e. calling super). So, to override an endpoint, simply define a method with endpoint's name, e.g.: def call_server(params) super.merge(...) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.6.7 | TODO |
netzke-core-0.6.6 | TODO |