| Module | Merb::ExtJS::Direct::RemotingProvider |
| In: |
lib/merb-extjs-direct/mixins/remoting_provider.rb
|
standard ruby method called when some class does: include Merb::ExtJS::Direct::RemotingProvider
handle_request # @throws XException when anything goes wrong to gracefully handle on client. @see Merb::Controller#part method, google: "merb parts". A Merb "part" is a kind of sub-controller with its onwn view capabilites but cannot be directly routed-to. Using part() method here is similar to using Ext.getCmp(id), eg: part(req.controller => req.action) ~ Ext.getCmp(controller).doSomething(action); However, unlike Ext.getCmp(), part(controller => action) returns a string to be added to the render stream and not a component instance, just as all merb render actions.