Sha256: e83bdf81f481f3866ef10a52f12778209d775fe63b16f533ab80def256bb07b9
Contents?: true
Size: 965 Bytes
Versions: 4
Compression:
Stored size: 965 Bytes
Contents
= ToDo Make it possible to pass a constant (not a string) to the `class_name` option Make :lazy_loading "true" by default when defining a child component Make :items option also accept a hash. Caching for netzke_controller-provided JS and CSS. Caching - investigate reusing (fragment?) caching of Rails. = 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
netzke-core-0.7.3 | TODO |
netzke-core-0.7.2 | TODO |
netzke-core-0.7.1 | TODO |
netzke-core-0.7.0 | TODO |