Module Merb::ExtJS::Direct::RemotingProvider
In: lib/merb-extjs-direct/mixins/remoting_provider.rb

Methods

Public Class methods

standard ruby method called when some class does: include Merb::ExtJS::Direct::RemotingProvider

Public Instance methods

rpc remote procedure call handler for Ext.direct requests.

Protected Instance methods

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.

[Validate]